]> git.ktnx.net Git - mobile-ledger.git/commitdiff
close the drawer when the settings item is selected
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 9 Jan 2019 20:19:20 +0000 (20:19 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 9 Jan 2019 20:19:20 +0000 (20:19 +0000)
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java

index e762133c53da44d5edf3ef331372129fd731698e..7e9469a296524d706f8fa7adb3cc6e147458a269 100644 (file)
@@ -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);