Added move to answer options

This commit is contained in:
M66B 2023-03-23 08:27:16 +01:00
parent d7a15b589a
commit db1195f3be
2 changed files with 7 additions and 1 deletions

View File

@ -3404,7 +3404,11 @@ public class FragmentMessages extends FragmentBase
String action = prefs.getString(
long_press ? "answer_action" : "answer_single",
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);
else
onMenuReply(message, action);

View File

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