Skip to content

High performance self-hosted photo and video management solution.

chore(web): better action button consistency (#3633)

Alexf4475549d66d
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,
- ),
],
);
}