Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Keep legacy gallery count conversion in migration

ashil-pilotbbc71f4e3cf4
diff --git a/mobile/apps/photos/lib/settings/local_settings.dart b/mobile/apps/photos/lib/settings/local_settings.dart
index ae58c6f35d..77f12f31dd 100644
--- a/mobile/apps/photos/lib/settings/local_settings.dart
+++ b/mobile/apps/photos/lib/settings/local_settings.dart
@@ -293,9 +293,6 @@ class LocalSettings {
}
GalleryLayoutType getGalleryLayoutType() {
- if (_prefs.getInt(kPhotoGridSize) == 2) {
- return GalleryLayoutType.justified;
- }
return switch (_prefs.getString(kGalleryLayoutType)) {
"justified" => GalleryLayoutType.justified,
_ => GalleryLayoutType.grid,