Added move to answer options

pull/212/head
M66B 2 years ago
parent d7a15b589a
commit db1195f3be

@ -3404,7 +3404,11 @@ public class FragmentMessages extends FragmentBase
String action = prefs.getString( String action = prefs.getString(
long_press ? "answer_action" : "answer_single", long_press ? "answer_action" : "answer_single",
long_press ? "reply" : "menu"); long_press ? "reply" : "menu");
if ("menu".equals(action) || !message.content) if ("move".equals(action)) {
View child = rvMessage.getChildAt(pos);
if (child != null && child.isEnabled())
child.findViewById(R.id.ibMove).performClick();
} else if ("menu".equals(action) || !message.content)
onReply(message, selected, fabReply); onReply(message, selected, fabReply);
else else
onMenuReply(message, action); onMenuReply(message, action);

@ -2618,6 +2618,7 @@
<item>forward</item> <item>forward</item>
<item>resend</item> <item>resend</item>
<item>editasnew</item> <item>editasnew</item>
<item>move</item>
<item>menu</item> <item>menu</item>
</string-array> </string-array>
@ -2628,6 +2629,7 @@
<item>@string/title_forward</item> <item>@string/title_forward</item>
<item>@string/title_resend</item> <item>@string/title_resend</item>
<item>@string/title_editasnew</item> <item>@string/title_editasnew</item>
<item>@string/title_move</item>
<item>@string/title_reply_menu</item> <item>@string/title_reply_menu</item>
</string-array> </string-array>

Loading…
Cancel
Save