Updated on 2026-08-14
This commit is contained in:
parent
aae93d6613
commit
c1b37e1cc5
3 changed files with 20 additions and 17 deletions
|
|
@ -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()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue