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() {
|
||||
super.onPause()
|
||||
views.widgetWebView.let {
|
||||
it.pauseTimers()
|
||||
it.onPause()
|
||||
if (fragmentArgs.kind != WidgetKind.ELEMENT_CALL) {
|
||||
views.widgetWebView.let {
|
||||
it.pauseTimers()
|
||||
it.onPause()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue