feat: add and fix #148

This commit is contained in:
Xyphyn committed 2023-09-19 15:43:24 -07:00
1 parent 2a0a3d4fbf
commit e0f4624489
5 files changed
+27 -11

No files matched your search

+2
View File
@@ -60,6 +60,7 @@ interface Settings {
font: 'inter' | 'system' | 'browser'
leftAlign: boolean
hidePhoton: boolean
}
export const defaultSettings: Settings = {
@@ -99,6 +100,7 @@ export const defaultSettings: Settings = {
view: 'list',
font: 'system',
leftAlign: false,
hidePhoton: toBool(env.PUBLIC_HIDE_POWERED_BY) ?? false,
}
export const userSettings = writable(defaultSettings)