mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
Stop javascript for non element call widgets.
This commit is contained in:
parent
5c55263cf6
commit
95783506a2
1 changed files with 5 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue