add proper persistence expirations and collapse the connection section by default
This commit is contained in:
1 parent
f1de9b420b
commit
da6a4e751e
10 files changed
+42
-4
No files matched your search
@@ -59,6 +59,7 @@ class WebSearchSettingsController extends _$WebSearchSettingsController {
|
||||
persist(
|
||||
ref.watch(riverpodDatabaseStorageProvider),
|
||||
key: 'WebSearchSettings',
|
||||
options: const StorageOptions(cacheTime: StorageCacheTime.unsafe_forever),
|
||||
);
|
||||
|
||||
return stateOrNull ?? WebSearchSettings.withDefaults();
|
||||
|
||||
Reference in new issue
Block a user