fix(themes): make themes work again + bump version

This commit is contained in:
cocobo1 2025-10-12 14:44:59 +03:00
parent 0e8604ab0e
commit 715223d72f
2 changed files with 4 additions and 1 deletions

View file

@ -74,7 +74,7 @@ const config = {
constModules: {
globals: {
"bunny-build-info": {
version: `"v1.3.1"`
version: `"v1.3.2"`
}
}
},

View file

@ -52,6 +52,9 @@ export function updateBunnyColor(colorManifest: ColorManifest | null, { update =
}
if (update) {
// scuffed but it works
AppearanceManager.setShouldSyncAppearanceSettings(true);
AppearanceManager.updateTheme(internalDef != null ? ref.key : ref.lastSetDiscordTheme);
AppearanceManager.setShouldSyncAppearanceSettings(false);
AppearanceManager.updateTheme(internalDef != null ? ref.key : ref.lastSetDiscordTheme);
}