mirror of
https://github.com/immich-app/immich.git
synced 2025-12-24 09:14:58 +03:00
fix(mobile): group setting change doesn't propagate across the app (#9066)
fix(mobile): group setting change doesn't propage across the app
This commit is contained in:
@@ -21,6 +21,10 @@ class GroupSettings extends HookConsumerWidget {
|
||||
void changeGroupValue(GroupAssetsBy? value) {
|
||||
if (value != null) {
|
||||
groupByIndex.value = value.index;
|
||||
ref.watch(appSettingsServiceProvider).setSetting(
|
||||
AppSettingsEnum.groupAssetsBy,
|
||||
value.index,
|
||||
);
|
||||
ref.invalidate(appSettingsServiceProvider);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user