summaryrefslogtreecommitdiff
path: root/ext/js/app
diff options
context:
space:
mode:
authorKuuuube <61125188+Kuuuube@users.noreply.github.com>2024-06-18 14:00:44 -0400
committerGitHub <noreply@github.com>2024-06-18 18:00:44 +0000
commit129be78c9bf1b9d378050c6ca6ec722ef456c4ee (patch)
tree27b7cbf6132b66d38ce8fa23abdc2a108c4fdb5d /ext/js/app
parent5b396c75d17771f7ccb43150c25544426b8e10f2 (diff)
Fix incorrect switch arm (#1084)
Diffstat (limited to 'ext/js/app')
-rw-r--r--ext/js/app/theme-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/app/theme-controller.js b/ext/js/app/theme-controller.js
index 3d4f8269..c12f1113 100644
--- a/ext/js/app/theme-controller.js
+++ b/ext/js/app/theme-controller.js
@@ -171,7 +171,7 @@ export class ThemeController {
*/
_resolveThemeValue(theme, computedSiteTheme) {
switch (theme) {
- case 'auto': return computedSiteTheme;
+ case 'site': return computedSiteTheme;
case 'browser': return this._browserTheme;
default: return theme;
}