Skip to content

Commit

Permalink
[themes/ui] Fix no rerendering
Browse files Browse the repository at this point in the history
  • Loading branch information
pylixonly committed Mar 28, 2024
1 parent c8ec3c7 commit 08c6b5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/managers/themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit 08c6b5e

Please sign in to comment.