misc: use bindings to show updated data easily

This commit is contained in:
Xyphyn committed 2023-08-12 10:11:39 -07:00
1 parent 4646a59ddf
commit dca0edf0b1
8 files changed
+63 -58

No files matched your search

+2
View File
@@ -31,6 +31,7 @@ interface Settings {
notifRate: number
}
displayNames: boolean
nsfwBlur: boolean
}
const defaultSettings: Settings = {
@@ -61,6 +62,7 @@ const defaultSettings: Settings = {
notifRate: 10 * 60 * 1000,
},
displayNames: true,
nsfwBlur: true,
}
export const userSettings = writable(defaultSettings)