From e476bb5b8b49a4b0d63341e7cd67218f5bb81e5a Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 23 Nov 2019 16:33:58 +0100 Subject: [PATCH] Simplification --- app/src/main/java/eu/faircode/email/ActivitySetup.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ActivitySetup.java b/app/src/main/java/eu/faircode/email/ActivitySetup.java index f547b0cef1..1767ee4a85 100644 --- a/app/src/main/java/eu/faircode/email/ActivitySetup.java +++ b/app/src/main/java/eu/faircode/email/ActivitySetup.java @@ -205,14 +205,13 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac } })); - NavMenuItem order = new NavMenuItem(R.drawable.baseline_reorder_24, R.string.title_setup_reorder_folders, new Runnable() { + menus.add(new NavMenuItem(R.drawable.baseline_reorder_24, R.string.title_setup_reorder_folders, new Runnable() { @Override public void run() { drawerLayout.closeDrawer(drawerContainer); onMenuOrder(R.string.title_setup_reorder_folders, TupleFolderSort.class); } - }).setSeparated(); - menus.add(order); + }).setSeparated()); menus.add(new NavMenuItem(R.drawable.baseline_help_24, R.string.menu_legend, new Runnable() { @Override