diff --git a/src/lib/managers/themes.ts b/src/lib/managers/themes.ts index 5aa864f..14f9d4f 100644 --- a/src/lib/managers/themes.ts +++ b/src/lib/managers/themes.ts @@ -192,6 +192,7 @@ export async function installTheme(id: string) { } export function selectTheme(theme: Theme | null) { + if (theme) theme.selected = true; Object.keys(themes).forEach( k => themes[k].selected = themes[k].id === theme?.id );