added alarmkey and locationkey to allowlist

This commit is contained in:
2026-06-19 00:21:34 +02:00
parent a3258b84fe
commit 20b017b066
+6 -1
View File
@@ -22,7 +22,12 @@ class LocalRepository
if (_prefs == null) {
await SharedPreferencesWithCache.create(
cacheOptions: const SharedPreferencesWithCacheOptions(
allowList: <String>{_tasksKey, _taskOrderKey},
allowList: <String>{
_tasksKey,
_taskOrderKey,
_alarmsKey,
_locationsKey,
},
),
).then((value) => _prefs = value);
}