added alarmkey and locationkey to allowlist
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user