Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ private void initWebViewLogin(String baseURL, boolean showLegacyLogin, boolean u
setClient(progressBar);

// show snackbar after 60s to switch back to old login method
if (showLegacyLogin) {
if (showLegacyLogin && getResources().getBoolean(R.bool.show_old_login)) {
final String finalBaseURL = baseURL;
new Handler().postDelayed(() -> DisplayUtils.createSnackbar(mLoginWebView,
R.string.fallback_weblogin_text,
Expand Down
1 change: 1 addition & 0 deletions src/main/res/values/setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
<!-- url for webview login, with the protocol prefix and with full url (normally /index.php/login/flow)
If set, will replace all other login methods available -->
<string name="webview_login_url" translatable="false"></string>
<bool name="show_old_login">true</bool>

<!-- Files becomes Home -->
<bool name="use_home">false</bool>
Expand Down