aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview
diff options
context:
space:
mode:
authorLibravatar André Oliveira <oliveira.andrerodrigues95@gmail.com>2022-08-05 00:41:02 +0100
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-08-06 18:18:58 +0530
commitd5b02ca0f7c825391a906ae6452e72f3ed6d619e (patch)
tree396336b0fec57cab99d4651de2c3b9f9b0b5175e /src/webview
parent6.0.1-nightly.10 [skip ci] (diff)
downloadferdium-app-d5b02ca0f7c825391a906ae6452e72f3ed6d619e.tar.gz
ferdium-app-d5b02ca0f7c825391a906ae6452e72f3ed6d619e.tar.zst
ferdium-app-d5b02ca0f7c825391a906ae6452e72f3ed6d619e.zip
fix: dark mode recipe and app handler
Diffstat (limited to 'src/webview')
-rw-r--r--src/webview/recipe.js5
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