From f4475549d66d6e1ba7810b2d62eaefae15c592ba Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 9 Aug 2023 21:05:52 -0500 Subject: [PATCH] chore(web): better action button consistency (#3633) Co-authored-by: Alex Tran --- .../lib/modules/home/ui/control_bottom_app_bar.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mobile/lib/modules/home/ui/control_bottom_app_bar.dart b/mobile/lib/modules/home/ui/control_bottom_app_bar.dart index 607e79fcbe..1d1632ef7a 100644 --- a/mobile/lib/modules/home/ui/control_bottom_app_bar.dart +++ b/mobile/lib/modules/home/ui/control_bottom_app_bar.dart @@ -54,6 +54,12 @@ class ControlBottomAppBar extends ConsumerWidget { label: "control_bottom_app_bar_share".tr(), onPressed: enabled ? onShare : null, ), + if (hasRemote) + ControlBoxButton( + iconData: Icons.archive, + label: "control_bottom_app_bar_archive".tr(), + onPressed: enabled ? onArchive : null, + ), if (hasRemote) ControlBoxButton( iconData: Icons.favorite_border_rounded, @@ -89,12 +95,6 @@ class ControlBottomAppBar extends ConsumerWidget { ) : null, ), - if (hasRemote) - ControlBoxButton( - iconData: Icons.archive, - label: "control_bottom_app_bar_archive".tr(), - onPressed: enabled ? onArchive : null, - ), ], ); }