mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
Close drawer before jumping to other activities so that it's not still open when come back later
This commit is contained in:
parent
7a941e0b0b
commit
05e2bf041d
1 changed files with 2 additions and 0 deletions
|
@ -866,12 +866,14 @@ public class FileActivity extends ActionBarActivity
|
|||
Intent settingsIntent = new Intent(getApplicationContext(),
|
||||
Preferences.class);
|
||||
startActivity(settingsIntent);
|
||||
mDrawerLayout.closeDrawers();
|
||||
break;
|
||||
|
||||
case 2: // Logs
|
||||
Intent loggerIntent = new Intent(getApplicationContext(),
|
||||
LogHistoryActivity.class);
|
||||
startActivity(loggerIntent);
|
||||
mDrawerLayout.closeDrawers();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue