misc: use bindings to show updated data easily
This commit is contained in:
1 parent
4646a59ddf
commit
dca0edf0b1
8 files changed
+63
-58
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user