Skip to content

armgit / ente

Public Imported from GitHub
0

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

Change icon and reorder

laurenspriemf869483c68a0
diff --git a/mobile/lib/ui/viewer/people/people_app_bar.dart b/mobile/lib/ui/viewer/people/people_app_bar.dart
index 45d1cc108d..14bb900ff0 100644
--- a/mobile/lib/ui/viewer/people/people_app_bar.dart
+++ b/mobile/lib/ui/viewer/people/people_app_bar.dart
@@ -249,28 +249,13 @@ class _AppBarWidgetState extends State<PeopleAppBar> {
],
),
),
- PopupMenuItem(
- value: PeoplePopupAction.removeLabel,
- child: Row(
- children: [
- const Icon(Icons.delete_outline),
- const Padding(
- padding: EdgeInsets.all(8),
- ),
- Text(
- S.of(context).remove,
- style: textTheme.bodyBold,
- ),
- ],
- ),
- ),
if (widget.person.data.email != null &&
(widget.person.data.email == Configuration.instance.getEmail()))
PopupMenuItem(
value: PeoplePopupAction.reassignMe,
child: Row(
children: [
- const Icon(Icons.delete_outline),
+ const Icon(Icons.person_2_outlined),
const Padding(
padding: EdgeInsets.all(8),
),
@@ -281,6 +266,21 @@ class _AppBarWidgetState extends State<PeopleAppBar> {
],
),
),
+ PopupMenuItem(
+ value: PeoplePopupAction.removeLabel,
+ child: Row(
+ children: [
+ const Icon(Icons.delete_outline),
+ const Padding(
+ padding: EdgeInsets.all(8),
+ ),
+ Text(
+ S.of(context).remove,
+ style: textTheme.bodyBold,
+ ),
+ ],
+ ),
+ ),
],
);
} else {