mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 20:25:32 -04:00
fix(mobile): stack button not in bottom app bar (#6497)
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
d15c443d9b
commit
f80f867976
@ -197,7 +197,7 @@ class ControlBottomAppBar extends ConsumerWidget {
|
|||||||
label: "control_bottom_app_bar_edit_location".tr(),
|
label: "control_bottom_app_bar_edit_location".tr(),
|
||||||
onPressed: enabled ? onEditLocation : null,
|
onPressed: enabled ? onEditLocation : null,
|
||||||
),
|
),
|
||||||
if (!hasLocal &&
|
if (!selectionAssetState.hasLocal &&
|
||||||
selectionAssetState.selectedCount > 1 &&
|
selectionAssetState.selectedCount > 1 &&
|
||||||
onStack != null)
|
onStack != null)
|
||||||
ControlBoxButton(
|
ControlBoxButton(
|
||||||
@ -211,7 +211,7 @@ class ControlBottomAppBar extends ConsumerWidget {
|
|||||||
label: 'album_viewer_appbar_share_remove'.tr(),
|
label: 'album_viewer_appbar_share_remove'.tr(),
|
||||||
onPressed: enabled ? onRemoveFromAlbum : null,
|
onPressed: enabled ? onRemoveFromAlbum : null,
|
||||||
),
|
),
|
||||||
if (hasLocal)
|
if (selectionAssetState.hasLocal)
|
||||||
ControlBoxButton(
|
ControlBoxButton(
|
||||||
iconData: Icons.backup_outlined,
|
iconData: Icons.backup_outlined,
|
||||||
label: "Upload",
|
label: "Upload",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user