mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
chore: pump flutter_lints to 6.0 (#30664)
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
f9c05af45f
commit
bd55f7e73a
36 changed files with 58 additions and 58 deletions
|
|
@ -9,7 +9,7 @@ ValueNotifier<T> useAppSettingsState<T>(AppSettingsEnum<T> key) {
|
|||
final notifier = useState<T>(Store.get(key.storeKey, key.defaultValue));
|
||||
|
||||
// Listen to changes to the notifier and update app settings
|
||||
useValueChanged(notifier.value, (_, __) => unawaited(Store.put(key.storeKey, notifier.value)));
|
||||
useValueChanged(notifier.value, (_, _) => unawaited(Store.put(key.storeKey, notifier.value)));
|
||||
|
||||
return notifier;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue