feat: save subscribed community collapsed state on refresh

This commit is contained in:
Xylight committed 2024-03-04 18:06:23 -08:00
1 parent fb92da4a27
commit a5287b03e8
3 files changed
+3 -5

No files matched your search

+2
View File
@@ -48,6 +48,7 @@ interface Settings {
removed: boolean
}
expandSidebar: boolean
expandCommunities: boolean
notifications: {
enabled: boolean
pollRate: number
@@ -101,6 +102,7 @@ export const defaultSettings: Settings = {
removed: toBool(env.PUBLIC_HIDE_REMOVED) ?? false,
},
expandSidebar: toBool(env.PUBLIC_EXPAND_SIDEBAR) ?? true,
expandCommunities: true,
notifications: {
enabled: false,
pollRate: 60 * 1000,