Stop javascript for non element call widgets.
This commit is contained in:
parent
5c55263cf6
commit
95783506a2
@ -131,9 +131,11 @@ class WidgetFragment @Inject constructor(
|
|||||||
|
|
||||||
override fun onPause() {
|
override fun onPause() {
|
||||||
super.onPause()
|
super.onPause()
|
||||||
views.widgetWebView.let {
|
if (fragmentArgs.kind != WidgetKind.ELEMENT_CALL) {
|
||||||
it.pauseTimers()
|
views.widgetWebView.let {
|
||||||
it.onPause()
|
it.pauseTimers()
|
||||||
|
it.onPause()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user