From 32b7fa54b80382a85d152668b059243980f10d2b Mon Sep 17 00:00:00 2001 From: Shubham Chaudhary Date: Sat, 1 Aug 2015 16:26:19 +0530 Subject: [PATCH] Stop showing annoying dialog box --- .../ccdroid/app/NavigationDrawerFragment.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/developfreedom/ccdroid/app/NavigationDrawerFragment.java b/app/src/main/java/org/developfreedom/ccdroid/app/NavigationDrawerFragment.java index 38ea548..6a56dbe 100644 --- a/app/src/main/java/org/developfreedom/ccdroid/app/NavigationDrawerFragment.java +++ b/app/src/main/java/org/developfreedom/ccdroid/app/NavigationDrawerFragment.java @@ -165,9 +165,9 @@ public void onDrawerOpened(View drawerView) { // If the user hasn't 'learned' about the drawer, open it to introduce them to the drawer, // per the navigation drawer design guidelines. - if (!mUserLearnedDrawer && !mFromSavedInstanceState) { - mDrawerLayout.openDrawer(mFragmentContainerView); - } +// if (!mUserLearnedDrawer && !mFromSavedInstanceState) { +// mDrawerLayout.openDrawer(mFragmentContainerView); +// } // Defer code dependent on restoration of previous instance state. mDrawerLayout.post(new Runnable() {