mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 18:28:59 +03:00
Merge pull request #6858 from nextcloud/fixAccountWarning
Fix crashing app when adding same account for second time when using qrCode
This commit is contained in:
commit
1381f594f7
1 changed files with 3 additions and 1 deletions
|
@ -1132,7 +1132,9 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
|
|||
}
|
||||
} else {
|
||||
// init webView again
|
||||
mLoginWebView.setVisibility(View.GONE);
|
||||
if (mLoginWebView != null) {
|
||||
mLoginWebView.setVisibility(View.GONE);
|
||||
}
|
||||
setContentView(R.layout.account_setup);
|
||||
initOverallUi();
|
||||
|
||||
|
|
Loading…
Reference in a new issue