mirror of
https://github.com/lifegpc/bookdownload.git
synced 2026-07-08 01:31:31 +08:00
Add QdSettings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user