Skip to content

Commit bcff267

Browse files
committed
Fix ui theme default when no setting saved, fixes #210
1 parent 42b92f0 commit bcff267

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This change log follows the conventions of
1010

1111
- Changed the build workflow in GitHub Actions to go back to using Java 17 because of a [bug in the Clojure compiler](https://clojure.atlassian.net/browse/CLJ-2838) that would cause BLT to crash when running on any Java version older than Java 21 if it was compiled under Java 21.
1212
Once that compiler bug is fixed, we can go back to compiling under Java 21.
13+
- Brand new BLT installs, or upgrades from versions prior to 8 are supposed to start in a dark UI theme, but are actually showing the light theme (even though the Settings window says dark).
1314

1415

1516
## [8.0.0] - 2025-07-21

src/beat_link_trigger/prefs.clj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,10 @@
237237
(dark-mode? (get-preferences)))
238238
([preferences]
239239
(case (:ui-mode preferences)
240-
:light false
241-
:dark true
242-
(.isDark theme-detector)))) ; Using system setting.
240+
:light false
241+
:dark true
242+
:system (.isDark theme-detector)
243+
true))) ; Default to dark if the user never set anything.
243244

244245

245246
(defn gear-icon

0 commit comments

Comments
 (0)