fix: ensure keepAlive is called in AutoBackupLocationState build method

This commit is contained in:
Moustapha Kodjo Amadou 2025-11-11 10:38:58 +01:00
parent 0903b9d7e3
commit 75d5013179

View file

@ -45,6 +45,7 @@ class BackupFrequencyOptionsState extends _$BackupFrequencyOptionsState {
class AutoBackupLocationState extends _$AutoBackupLocationState {
@override
(String, String) build() {
ref.keepAlive();
_refresh();
return ("", isar.settings.getSync(227)!.autoBackupLocation ?? "");
}