Skip to content

armgit / ente

Public Imported from GitHub
0

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

Chore

ashilkn644fdd16f5c5
diff --git a/mobile/apps/photos/lib/models/gallery/gallery_groups.dart b/mobile/apps/photos/lib/models/gallery/gallery_groups.dart
index 5571510209..a42ba360e0 100644
--- a/mobile/apps/photos/lib/models/gallery/gallery_groups.dart
+++ b/mobile/apps/photos/lib/models/gallery/gallery_groups.dart
@@ -207,7 +207,7 @@ class GalleryGroups {
filesInGroup: groupIDToFilesMap[groupID]!,
selectedFiles: selectedFiles,
showSelectAll: showSelectAll && !limitSelectionToOne,
- showGallerySettingCTA:
+ showGalleryLayoutSettingCTA:
rowIndex == 0 && showGallerySettingsCTA,
);
} else {
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/component/group/group_header_widget.dart b/mobile/apps/photos/lib/ui/viewer/gallery/component/group/group_header_widget.dart
index 197f75de5a..94f666cf9d 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/component/group/group_header_widget.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/component/group/group_header_widget.dart
@@ -15,7 +15,7 @@ class GroupHeaderWidget extends StatefulWidget {
final List<EnteFile> filesInGroup;
final SelectedFiles? selectedFiles;
final bool showSelectAll;
- final bool showGallerySettingCTA;
+ final bool showGalleryLayoutSettingCTA;
final bool showTrailingIcons;
final bool isPinnedHeader;
final bool fadeInTrailingIcons;
@@ -27,7 +27,7 @@ class GroupHeaderWidget extends StatefulWidget {
required this.filesInGroup,
required this.selectedFiles,
required this.showSelectAll,
- this.showGallerySettingCTA = false,
+ this.showGalleryLayoutSettingCTA = false,
this.height,
this.showTrailingIcons = true,
this.isPinnedHeader = false,
@@ -168,10 +168,10 @@ class _GroupHeaderWidgetState extends State<GroupHeaderWidget> {
},
)
: const SizedBox.shrink(),
- widget.showGallerySettingCTA
+ widget.showGalleryLayoutSettingCTA
? const SizedBox(width: 8)
: const SizedBox.shrink(),
- widget.showGallerySettingCTA
+ widget.showGalleryLayoutSettingCTA
? widget.showTrailingIcons
? GestureDetector(
onTap: () => _showLayoutSettingsOverflowMenu(context),
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
index f1a4a62650..3901c23d40 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
@@ -851,7 +851,8 @@ class _PinnedGroupHeaderState extends State<PinnedGroupHeader> {
.galleryGroups.groupIDToFilesMap[currentGroupId!]!,
selectedFiles: widget.selectedFiles,
showSelectAll: widget.showSelectAll,
- showGallerySettingCTA: widget.showGallerySettingsCTA,
+ showGalleryLayoutSettingCTA:
+ widget.showGallerySettingsCTA,
showTrailingIcons: !inUse,
isPinnedHeader: true,
fadeInTrailingIcons: fadeInTrailingIcons,