mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 03:46:47 +01:00
chore(web): better action button consistency (#3633)
Co-authored-by: Alex Tran <Alex.Tran@conductix.com>
This commit is contained in:
parent
a6eb227330
commit
f4475549d6
1 changed files with 6 additions and 6 deletions
|
@ -54,6 +54,12 @@ class ControlBottomAppBar extends ConsumerWidget {
|
||||||
label: "control_bottom_app_bar_share".tr(),
|
label: "control_bottom_app_bar_share".tr(),
|
||||||
onPressed: enabled ? onShare : null,
|
onPressed: enabled ? onShare : null,
|
||||||
),
|
),
|
||||||
|
if (hasRemote)
|
||||||
|
ControlBoxButton(
|
||||||
|
iconData: Icons.archive,
|
||||||
|
label: "control_bottom_app_bar_archive".tr(),
|
||||||
|
onPressed: enabled ? onArchive : null,
|
||||||
|
),
|
||||||
if (hasRemote)
|
if (hasRemote)
|
||||||
ControlBoxButton(
|
ControlBoxButton(
|
||||||
iconData: Icons.favorite_border_rounded,
|
iconData: Icons.favorite_border_rounded,
|
||||||
|
@ -89,12 +95,6 @@ class ControlBottomAppBar extends ConsumerWidget {
|
||||||
)
|
)
|
||||||
: null,
|
: null,
|
||||||
),
|
),
|
||||||
if (hasRemote)
|
|
||||||
ControlBoxButton(
|
|
||||||
iconData: Icons.archive,
|
|
||||||
label: "control_bottom_app_bar_archive".tr(),
|
|
||||||
onPressed: enabled ? onArchive : null,
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue