]> git.ktnx.net Git - mobile-ledger.git/commitdiff
initially mark the account list as current in the navigation drawer
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 20 Jan 2019 19:08:14 +0000 (19:08 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 20 Jan 2019 19:08:14 +0000 (19:08 +0000)
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java

index 1e4b4460a505e2ac18a2ecdc97f9ad3ab990b0aa..1afc155d39e8e7d0bc6cd4dd7038406352e59476 100644 (file)
@@ -128,6 +128,8 @@ public class MainActivity extends AppCompatActivity {
         fragmentManager = getSupportFragmentManager();
         mSectionsPagerAdapter = new SectionsPagerAdapter(fragmentManager);
 
+        markDrawerItemCurrent(R.id.nav_account_summary);
+
         mViewPager = findViewById(R.id.root_frame);
         mViewPager.setAdapter(mSectionsPagerAdapter);
         mViewPager.addOnPageChangeListener(new ViewPager.SimpleOnPageChangeListener() {