mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 06:05:42 +03:00
Merge pull request #2727 from nextcloud/fixPrivacyExternalView
Wrong behaviour on privacy tab
This commit is contained in:
commit
9575da72fd
1 changed files with 7 additions and 3 deletions
|
@ -97,7 +97,12 @@ public class ExternalSiteWebView extends FileActivity {
|
|||
ActionBar actionBar = getSupportActionBar();
|
||||
if (actionBar != null) {
|
||||
ThemeUtils.setColoredTitle(actionBar, title, this);
|
||||
actionBar.setDisplayHomeAsUpEnabled(true);
|
||||
|
||||
if (showSidebar) {
|
||||
actionBar.setDisplayHomeAsUpEnabled(true);
|
||||
} else {
|
||||
setDrawerIndicatorEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
// enable zoom
|
||||
|
@ -157,8 +162,7 @@ public class ExternalSiteWebView extends FileActivity {
|
|||
openDrawer();
|
||||
}
|
||||
} else {
|
||||
Intent settingsIntent = new Intent(getApplicationContext(), Preferences.class);
|
||||
startActivity(settingsIntent);
|
||||
finish();
|
||||
}
|
||||
retval = true;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue