From: Damyan Ivanov Date: Wed, 9 Jan 2019 20:19:20 +0000 (+0000) Subject: close the drawer when the settings item is selected X-Git-Tag: v0.3~89 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=32147725c77f956d37c62a7e50709ec3839586c6;p=mobile-ledger.git close the drawer when the settings item is selected --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java index e762133c..7e9469a2 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java @@ -241,6 +241,7 @@ public class MainActivity extends AppCompatActivity { public void nav_settings_clicked(View view) { Intent intent = new Intent(this, SettingsActivity.class); startActivity(intent); + drawer.closeDrawers(); } public void markDrawerItemCurrent(int id) { TextView item = drawer.findViewById(id);