feat: add tag rules
This commit is contained in:
1 parent
abf52a8f01
commit
3e563ad1cc
6 files changed
+102
-46
No files matched your search
@@ -91,6 +91,9 @@ interface Settings {
|
||||
language: string | null
|
||||
useRtl: boolean
|
||||
translator: string | undefined
|
||||
tagRules: {
|
||||
[key: string]: 'hide' | 'blur'
|
||||
}
|
||||
}
|
||||
|
||||
export const defaultSettings: Settings = {
|
||||
@@ -159,6 +162,10 @@ export const defaultSettings: Settings = {
|
||||
language: env.PUBLIC_LANGUAGE ?? null,
|
||||
useRtl: false,
|
||||
translator: env.PUBLIC_TRANSLATOR ?? undefined,
|
||||
tagRules: {
|
||||
cw: 'blur',
|
||||
nsfl: 'blur',
|
||||
},
|
||||
}
|
||||
|
||||
export const userSettings = writable(defaultSettings)
|
||||
|
||||
Reference in new issue
Block a user