mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-02 20:53:09 +00:00
fix klint
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
8e981f04b0
commit
d6a4e54957
@ -193,7 +193,9 @@ class WebViewLoginController(args: Bundle? = null) : NewBaseController(
|
|||||||
}
|
}
|
||||||
if (!TextUtils.isEmpty(username)) {
|
if (!TextUtils.isEmpty(username)) {
|
||||||
if (loginStep == 1) {
|
if (loginStep == 1) {
|
||||||
binding.webview.loadUrl("javascript: {document.getElementsByClassName('login')[0].click(); };")
|
binding.webview.loadUrl(
|
||||||
|
"javascript: {document.getElementsByClassName('login')[0].click(); };"
|
||||||
|
)
|
||||||
} else if (!automatedLoginAttempted) {
|
} else if (!automatedLoginAttempted) {
|
||||||
automatedLoginAttempted = true
|
automatedLoginAttempted = true
|
||||||
if (TextUtils.isEmpty(password)) {
|
if (TextUtils.isEmpty(password)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user