feat: add card view

This commit is contained in:
Xyphyn committed 2023-08-23 18:15:04 -07:00
1 parent 22ce7bf39e
commit 861fb4949a
4 files changed
+111 -42

No files matched your search

+2
View File
@@ -49,6 +49,7 @@ interface Settings {
}
newVote: boolean
randomPlaceholders: boolean
modlogCardView: boolean | undefined
}
export const defaultSettings: Settings = {
@@ -85,6 +86,7 @@ export const defaultSettings: Settings = {
},
newVote: toBool(env.PUBLIC_NEW_VOTE_BUTTONS) ?? false,
randomPlaceholders: toBool(env.PUBLIC_RANDOM_PLACEHOLDERS) ?? true,
modlogCardView: toBool(env.PUBLIC_MODLOG_CARD_VIEW) ?? undefined,
}
export const userSettings = writable(defaultSettings)