Skip to content

Commit

Permalink
bugfix/crashWebView reload webview after crash
Browse files Browse the repository at this point in the history
  • Loading branch information
dmiales committed Aug 27, 2023
1 parent 426fc7d commit 5f74b63
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -714,9 +714,9 @@ class WebViewActivity : BaseActivity(), io.homeassistant.companion.android.webvi
// Set event lister for HA theme change
webView.evaluateJavascript(
"document.addEventListener('settheme', function ()" +
"{" +
"window.externalApp.onHomeAssistantSetTheme();" +
"});",
"{" +
"window.externalApp.onHomeAssistantSetTheme();" +
"});",
null
)
}
Expand Down

0 comments on commit 5f74b63

Please sign in to comment.