diff options
author | 2022-08-05 00:41:02 +0100 | |
---|---|---|
committer | 2022-08-06 18:18:58 +0530 | |
commit | d5b02ca0f7c825391a906ae6452e72f3ed6d619e (patch) | |
tree | 396336b0fec57cab99d4651de2c3b9f9b0b5175e | |
parent | 6.0.1-nightly.10 [skip ci] (diff) | |
download | ferdium-app-d5b02ca0f7c825391a906ae6452e72f3ed6d619e.tar.gz ferdium-app-d5b02ca0f7c825391a906ae6452e72f3ed6d619e.tar.zst ferdium-app-d5b02ca0f7c825391a906ae6452e72f3ed6d619e.zip |
fix: dark mode recipe and app handler
-rw-r--r-- | src/webview/recipe.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/webview/recipe.js b/src/webview/recipe.js index 102d93642..8c93da202 100644 --- a/src/webview/recipe.js +++ b/src/webview/recipe.js | |||
@@ -334,10 +334,7 @@ class RecipeController { | |||
334 | isDarkModeStyleInjected, | 334 | isDarkModeStyleInjected, |
335 | }; | 335 | }; |
336 | 336 | ||
337 | if ( | 337 | if (this.settings.service.isDarkModeEnabled) { |
338 | this.settings.service.isDarkModeEnabled && | ||
339 | this.settings.app.isDarkThemeActive !== false | ||
340 | ) { | ||
341 | debug('Enable dark mode'); | 338 | debug('Enable dark mode'); |
342 | 339 | ||
343 | // Check if recipe has a custom dark mode handler | 340 | // Check if recipe has a custom dark mode handler |