fixes
This commit is contained in:
parent
f47e05b9f8
commit
3a8ec7d3a1
1 changed files with 1 additions and 1 deletions
|
|
@ -111,6 +111,7 @@ class PoTokenWebViewLoginActivity : BaseActivity() {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
cookiesViewModel.updateCookiesFile()
|
cookiesViewModel.updateCookiesFile()
|
||||||
|
preferences.edit().putBoolean("use_cookies", true).apply()
|
||||||
}.onFailure {
|
}.onFailure {
|
||||||
withContext(Dispatchers.Main) {
|
withContext(Dispatchers.Main) {
|
||||||
Toast.makeText(
|
Toast.makeText(
|
||||||
|
|
@ -123,7 +124,6 @@ class PoTokenWebViewLoginActivity : BaseActivity() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
preferences.edit().putBoolean("use_cookies", true).apply()
|
|
||||||
|
|
||||||
|
|
||||||
webView.clearCache(true)
|
webView.clearCache(true)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue