mirror of
https://github.com/immich-app/immich.git
synced 2025-01-27 22:22:45 +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:
parent
52bcb46b42
commit
f1083a4c73
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@ class GroupSettings extends HookConsumerWidget {
|
||||||
void changeGroupValue(GroupAssetsBy? value) {
|
void changeGroupValue(GroupAssetsBy? value) {
|
||||||
if (value != null) {
|
if (value != null) {
|
||||||
groupByIndex.value = value.index;
|
groupByIndex.value = value.index;
|
||||||
|
ref.watch(appSettingsServiceProvider).setSetting(
|
||||||
|
AppSettingsEnum.groupAssetsBy,
|
||||||
|
value.index,
|
||||||
|
);
|
||||||
ref.invalidate(appSettingsServiceProvider);
|
ref.invalidate(appSettingsServiceProvider);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue