feat: add card view
This commit is contained in:
1 parent
22ce7bf39e
commit
861fb4949a
4 files changed
+111
-42
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user