Update manager.ts

This commit is contained in:
syuilo 2025-05-31 16:28:20 +09:00
parent 1fa77f1751
commit 1a62cc2dbb
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ export function getInitialPrefValue<K extends keyof PREF>(k: K): ValueOf<K> {
}
}
// TODO: PreferencesManagerForGuest のような非ログイン専用のクラスを分離すれば$iのnullチェックやaccountがnullであるスコープのレコード挿入などが不要になり綺麗になるかもしれない
export class PreferencesManager {
private storageProvider: StorageProvider;
public profile: PreferencesProfile;