Skip to content

armgit / ente

Public Imported from GitHub
0

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

[auth] Change ordering for menu items

vishnukvmd6e07aacc3fed
diff --git a/auth/lib/ui/components/code_selection_actions_widget.dart b/auth/lib/ui/components/code_selection_actions_widget.dart
index 9f5de889f9..9cf514f7c2 100644
--- a/auth/lib/ui/components/code_selection_actions_widget.dart
+++ b/auth/lib/ui/components/code_selection_actions_widget.dart
@@ -54,13 +54,6 @@ class _CodeSelectionActionsWidgetState
onTap: widget.onShare,
),
);
- items.add(
- SelectionActionButton(
- labelText: 'QR',
- icon: Icons.qr_code_2_outlined,
- onTap: widget.onShowQR,
- ),
- );
items.add(
SelectionActionButton(
@@ -71,6 +64,14 @@ class _CodeSelectionActionsWidgetState
onTap: widget.onPin,
),
);
+
+ items.add(
+ SelectionActionButton(
+ labelText: 'QR',
+ icon: Icons.qr_code_2_outlined,
+ onTap: widget.onShowQR,
+ ),
+ );
}
if (widget.code.isTrashed) {