From 078976518d78a24a88345157e8b623acf64ace62 Mon Sep 17 00:00:00 2001 From: Romain Vigier Date: Sat, 26 Feb 2022 11:41:24 +0100 Subject: [PATCH] Extension: Add explanation for not disabling in `unlock-dialog` session mode --- src/extension.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/extension.js b/src/extension.js index acc2db2..2aab75d 100644 --- a/src/extension.js +++ b/src/extension.js @@ -61,6 +61,9 @@ class NightThemeSwitcher { } disable() { + // Extension won't be disabled in `unlock-dialog` session mode. This is + // to enable the color scheme switch while the lock screen is displayed, + // as the background image and the shell theme are visible in this mode. console.debug('Disabling extension...'); enabled = false;