Add QdSettings

This commit is contained in:
2026-02-14 10:00:57 +08:00
parent dc252af38a
commit deefa95918
10 changed files with 83 additions and 14 deletions

View File

@@ -18,6 +18,9 @@ export class QdConfig {
}
await saveConfig(QdConfig.STORAGE_KEY, this.config);
}
reset() {
this.config = {};
}
get AutoSaveChapter(): boolean {
return this.config?.AutoSaveChapter ?? false;
}