mirror of
https://github.com/koloml/philomena-tagging-assistant.git
synced 2026-11-08 00:18:19 +00:00
Added fun preference section, added avali font toggle
This commit is contained in:
1 parent
223b72d9fb
commit
2b70cc094b
6 files changed
+95
-1
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import CacheablePreferences, { PreferenceField, type WithFields } from "$lib/extension/base/CacheablePreferences";
|
||||
|
||||
interface FunPreferencesFields {
|
||||
useAvaliFont: boolean;
|
||||
}
|
||||
|
||||
export default class FunPreferences extends CacheablePreferences<FunPreferencesFields> implements WithFields<FunPreferencesFields> {
|
||||
constructor() {
|
||||
super('fun');
|
||||
}
|
||||
|
||||
readonly useAvaliFont = new PreferenceField(this, {
|
||||
field: "useAvaliFont",
|
||||
defaultValue: false,
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user