Skip to content

Commit

Permalink
Remove unnecessary load
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonard committed Feb 13, 2024
1 parent f8149bf commit be07e8b
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ class WebClientKnmiPluim : WebViewClient() {
val darkMode = sharedPreferences.getString("dark_mode", "dark_mode_no")
if (darkMode == "dark_mode_yes") {
view.setBackgroundColor(Color.parseColor("#2e2e2e")); // matches Android's dark mode colours
view.loadUrl(
"javascript:document.body.style.setProperty(\"color\", \"white\");"
);
}
}
}
Expand Down

0 comments on commit be07e8b

Please # to comment.