From ece09fbb519a3285f6285f9990b58b57e0890c7e Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Sat, 18 Jan 2025 14:30:52 +1100
Subject: bar: change style + fix scheme

---
 app.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'app.tsx')

diff --git a/app.tsx b/app.tsx
index 5fc82fc..e995182 100644
--- a/app.tsx
+++ b/app.tsx
@@ -12,7 +12,7 @@ const loadStyleAsync = async () => {
     let scheme = "mocha";
     if (GLib.file_test(`${CACHE}/scheme/current.txt`, GLib.FileTest.EXISTS)) {
         const currentScheme = await readFileAsync(`${CACHE}/scheme/current.txt`);
-        if (GLib.file_test(`${SRC}/scss/scheme/${scheme}.scss`, GLib.FileTest.EXISTS)) scheme = currentScheme;
+        if (GLib.file_test(`${SRC}/scss/scheme/_${currentScheme}.scss`, GLib.FileTest.EXISTS)) scheme = currentScheme;
     }
     await writeFileAsync(`${SRC}/scss/scheme/_index.scss`, `@forward "${scheme}";`);
     App.apply_css(await execAsync(`sass ${SRC}/style.scss`), true);
-- 
cgit v1.2.3-freya

