1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-31 20:25:38 +00:00

Fixed set importance menu order

This commit is contained in:
M66B 2020-02-04 10:28:04 +01:00
parent 7890a36d45
commit 17ef98ab66

View file

@ -2090,7 +2090,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if (result.unflagged || result.flagged)
popupMenu.getMenu().add(Menu.NONE, R.string.title_flag_color, order++, R.string.title_flag_color);
SubMenu importance = popupMenu.getMenu().addSubMenu(R.string.title_set_importance);
SubMenu importance = popupMenu.getMenu()
.addSubMenu(Menu.NONE, Menu.NONE, order++, R.string.title_set_importance);
importance.add(Menu.NONE, R.string.title_importance_low, 1, R.string.title_importance_low);
importance.add(Menu.NONE, R.string.title_importance_normal, 2, R.string.title_importance_normal);
importance.add(Menu.NONE, R.string.title_importance_high, 3, R.string.title_importance_high);