add proper persistence expirations and collapse the connection section by default
This commit is contained in:
@@ -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