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 Oct 3, 2023
1 parent 933cf29 commit 118d532
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -724,9 +724,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 118d532

Please sign in to comment.