fix(mobile): change share icons for consistency (#16904)

This commit is contained in:
Yaros 2025-03-17 18:34:58 +01:00 committed by GitHub
parent 9105e696bf
commit f8b40188e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -197,7 +197,7 @@
"control_bottom_app_bar_edit_time": "Edit Date & Time", "control_bottom_app_bar_edit_time": "Edit Date & Time",
"control_bottom_app_bar_favorite": "Favorite", "control_bottom_app_bar_favorite": "Favorite",
"control_bottom_app_bar_share": "Share", "control_bottom_app_bar_share": "Share",
"control_bottom_app_bar_share_to": "Share To", "control_bottom_app_bar_share_link": "Share Link",
"control_bottom_app_bar_stack": "Stack", "control_bottom_app_bar_stack": "Stack",
"control_bottom_app_bar_trash_from_immich": "Move to Trash", "control_bottom_app_bar_trash_from_immich": "Move to Trash",
"control_bottom_app_bar_unarchive": "Unarchive", "control_bottom_app_bar_unarchive": "Unarchive",

View File

@ -127,12 +127,12 @@ class ControlBottomAppBar extends HookConsumerWidget {
ControlBoxButton( ControlBoxButton(
iconData: Icons.share_rounded, iconData: Icons.share_rounded,
label: "control_bottom_app_bar_share".tr(), label: "control_bottom_app_bar_share".tr(),
onPressed: enabled ? () => onShare(false) : null, onPressed: enabled ? () => onShare(true) : null,
), ),
ControlBoxButton( ControlBoxButton(
iconData: Icons.ios_share_rounded, iconData: Icons.link_rounded,
label: "control_bottom_app_bar_share_to".tr(), label: "control_bottom_app_bar_share_link".tr(),
onPressed: enabled ? () => onShare(true) : null, onPressed: enabled ? () => onShare(false) : null,
), ),
if (hasRemote && onArchive != null) if (hasRemote && onArchive != null)
ControlBoxButton( ControlBoxButton(