mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix: asset viewer bottom bar action colors (#30582)
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
18d4a796bb
commit
4be8e1a9fc
1 changed files with 5 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ class ViewerBottomBar extends ConsumerWidget {
|
|||
UploadAction(source: .viewer, showProgress: true),
|
||||
EditAssetAction(source: .viewer),
|
||||
]),
|
||||
if (asset.hasRemote) AddActionButton(originalTheme: originalTheme),
|
||||
if (asset.hasRemote) ImmichColorOverride(color: null, child: AddActionButton(originalTheme: originalTheme)),
|
||||
],
|
||||
..._actionColumnButtons(context, ref, const [DeleteAction(source: .viewer)]),
|
||||
],
|
||||
|
|
@ -94,7 +94,10 @@ class ViewerBottomBar extends ConsumerWidget {
|
|||
if (asset.isImage) OcrToggleButton(asset: asset),
|
||||
if (asset.isVideo) VideoControls(videoPlayerName: asset.heroTag),
|
||||
if (!isReadonlyModeEnabled)
|
||||
Row(mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: actions),
|
||||
ImmichColorOverride(
|
||||
color: Colors.white,
|
||||
child: Row(mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: actions),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue