mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Added move to answer options
This commit is contained in:
parent
d7a15b589a
commit
db1195f3be
2 changed files with 7 additions and 1 deletions
|
@ -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…
Reference in a new issue