1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-16 00:36:47 +01: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:
Alex 2024-04-26 00:54:45 -05:00 committed by GitHub
parent 52bcb46b42
commit f1083a4c73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}
}