Skip to content

Commit 67ca151

Browse files
committed
Pull the theme through the default chain
This is so the `config` level is respected. Signed-off-by: Travis Ralston <travpc@gmail.com>
1 parent 1ab5ff0 commit 67ca151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vector/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ async function loadApp() {
301301
// as quickly as we possibly can, set a default theme...
302302
const styleElements = Object.create(null);
303303
let a;
304-
const theme = SettingsStore.getValueAt(SettingLevel.DEFAULT, "theme");
304+
const theme = SettingsStore.getValue("theme");
305305
for (let i = 0; (a = document.getElementsByTagName("link")[i]); i++) {
306306
const href = a.getAttribute("href");
307307
if (!href) continue;

0 commit comments

Comments
 (0)