Skip to content

armgit / ente

Public Imported from GitHub
0

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

Change position

laurenspriem0524b98b7b09
diff --git a/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dart b/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dart
index 018816a15c..25466eedfd 100644
--- a/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dart
+++ b/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dart
@@ -261,6 +261,18 @@ class _FileSelectionActionsWidgetState
}
}
+ if (flagService.manualTagFileToPerson &&
+ widget.type != GalleryType.sharedPublicCollection) {
+ items.add(
+ SelectionActionButton(
+ icon: Icons.person_add_alt_1_outlined,
+ labelText: "(i) Add to person",
+ onTap: hasUploadedFileIDs ? _onAddFilesToPerson : null,
+ shouldShow: hasUploadedFileIDs,
+ ),
+ );
+ }
+
if (widget.type.showAddtoHiddenAlbum()) {
items.add(
SelectionActionButton(
@@ -353,17 +365,6 @@ class _FileSelectionActionsWidgetState
),
);
}
- if (flagService.manualTagFileToPerson &&
- widget.type != GalleryType.sharedPublicCollection) {
- items.add(
- SelectionActionButton(
- icon: Icons.person_add_alt_1_outlined,
- labelText: "(i) Add to person",
- onTap: hasUploadedFileIDs ? _onAddFilesToPerson : null,
- shouldShow: hasUploadedFileIDs,
- ),
- );
- }
items.add(
SelectionActionButton(
svgAssetPath: "assets/icons/guest_view_icon.svg",