feat(mobile): save grid size on gesture resize (#17891)

This commit is contained in:
Yaros 2025-04-28 16:23:33 +02:00 committed by GitHub
parent 2fd05e8447
commit 23717ce981
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -97,6 +97,7 @@ class ImmichAssetGrid extends HookConsumerWidget {
);
if (7 - scaleFactor.value.toInt() != perRow.value) {
perRow.value = 7 - scaleFactor.value.toInt();
settings.setSetting(AppSettingsEnum.tilesPerRow, perRow.value);
}
};
}),