mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-26 23:25:20 +03:00
fix klint
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
8e981f04b0
commit
d6a4e54957
1 changed files with 3 additions and 1 deletions
|
@ -193,7 +193,9 @@ class WebViewLoginController(args: Bundle? = null) : NewBaseController(
|
|||
}
|
||||
if (!TextUtils.isEmpty(username)) {
|
||||
if (loginStep == 1) {
|
||||
binding.webview.loadUrl("javascript: {document.getElementsByClassName('login')[0].click(); };")
|
||||
binding.webview.loadUrl(
|
||||
"javascript: {document.getElementsByClassName('login')[0].click(); };"
|
||||
)
|
||||
} else if (!automatedLoginAttempted) {
|
||||
automatedLoginAttempted = true
|
||||
if (TextUtils.isEmpty(password)) {
|
||||
|
|
Loading…
Reference in a new issue