mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 13:15:35 +03:00
move order
This commit is contained in:
parent
4bf1b65f41
commit
f3be3ca91c
1 changed files with 5 additions and 5 deletions
|
@ -102,11 +102,6 @@ public class FolderPickerActivity extends FileActivity implements FileFragment.C
|
|||
|
||||
// Action bar setup
|
||||
setupToolbar();
|
||||
|
||||
if (getSupportActionBar() != null) {
|
||||
getSupportActionBar().setDisplayShowTitleEnabled(true);
|
||||
getSupportActionBar().setTitle(caption);
|
||||
}
|
||||
|
||||
if (getIntent().getStringExtra(EXTRA_ACTION) != null) {
|
||||
caption = getIntent().getStringExtra(EXTRA_ACTION);
|
||||
|
@ -114,6 +109,11 @@ public class FolderPickerActivity extends FileActivity implements FileFragment.C
|
|||
caption = ThemeUtils.getDefaultDisplayNameForRootFolder();
|
||||
}
|
||||
|
||||
if (getSupportActionBar() != null) {
|
||||
getSupportActionBar().setDisplayShowTitleEnabled(true);
|
||||
getSupportActionBar().setTitle(caption);
|
||||
}
|
||||
|
||||
setIndeterminate(mSyncInProgress);
|
||||
// always AFTER setContentView(...) ; to work around bug in its implementation
|
||||
|
||||
|
|
Loading…
Reference in a new issue