Skip to content

Commit 5d805c4

Browse files
committed
fix: Use original theme as default design
1 parent 36fc8ff commit 5d805c4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/Startpage/Settings/settingsHandler.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,11 @@ export const Design = {
9393
},
9494
getWithFallback: () => {
9595
try {
96-
return Design.get() ?? themes[0]!
96+
return (
97+
Design.get() ??
98+
themes.find(theme => theme.name === "DeathAndMilk") ??
99+
themes[0]!
100+
)
97101
} catch {
98102
console.error("Your currently applied design appears to be corrupted.")
99103
return themes[0]!

0 commit comments

Comments
 (0)