misc: make community cards consistent

This commit is contained in:
Xylight committed 2024-06-12 14:00:41 -07:00
1 parent dd1dce9b6b
commit eef339bf4c
9 files changed
+47 -131

No files matched your search

+3 -2
View File
@@ -105,6 +105,7 @@ export const defaultSettings: Settings = {
},
expandSidebar: toBool(env.PUBLIC_EXPAND_SIDEBAR) ?? true,
expandCommunities: toBool(env.PUBLIC_EXPAND_COMMUNITIES) ?? true,
expandFavorites: toBool(env.PUBLIC_EXPAND_FAVORITES) ?? true,
displayNames: toBool(env.PUBLIC_DISPLAY_NAMES) ?? true,
nsfwBlur: toBool(env.PUBLIC_NSFW_BLUR) ?? true,
moderation: {
@@ -144,8 +145,8 @@ export const defaultSettings: Settings = {
compactFeatured: toBool(env.PUBLIC_COMPACT_FEATURED) ?? true,
showHidden: false,
},
language: null,
translator: undefined,
language: env.PUBLIC_LANGUAGE ?? null,
translator: env.PUBLIC_TRANSLATOR ?? undefined,
}
export const userSettings = writable(defaultSettings)