move order

This commit is contained in:
tobiaskaminsky 2017-11-20 11:05:49 +01:00 committed by tobiasKaminsky
parent 4bf1b65f41
commit f3be3ca91c
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -103,17 +103,17 @@ 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);
} else {
caption = ThemeUtils.getDefaultDisplayNameForRootFolder();
}
if (getSupportActionBar() != null) {
getSupportActionBar().setDisplayShowTitleEnabled(true);
getSupportActionBar().setTitle(caption);
}
setIndeterminate(mSyncInProgress);
// always AFTER setContentView(...) ; to work around bug in its implementation