Updated on 2026-08-14

This commit is contained in:
Tangem 2022-10-27 22:03:16 +05:00
parent aae93d6613
commit c1b37e1cc5
3 changed files with 20 additions and 17 deletions

View file

@ -6,6 +6,7 @@ import android.webkit.WebView
[REDACTED_AUTHOR]
*/
fun WebView.configureSettings() {
resumeTimers()
settings.apply {
javaScriptEnabled = true
domStorageEnabled = true
@ -15,5 +16,4 @@ fun WebView.configureSettings() {
fun WebView.stop() {
stopLoading()
pauseTimers()
destroy()
}