From 6e07aacc3fed22bd2cfc845e44b24423fd7bf189 Mon Sep 17 00:00:00 2001 From: vishnukvmd Date: Tue, 17 Sep 2024 13:10:49 +0530 Subject: [PATCH] [auth] Change ordering for menu items --- .../components/code_selection_actions_widget.dart | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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) {