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:
shenlong 2026-08-06 01:15:31 +05:30 committed by GitHub
parent 18d4a796bb
commit 4be8e1a9fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,7 +51,7 @@ class ViewerBottomBar extends ConsumerWidget {
UploadAction(source: .viewer, showProgress: true), UploadAction(source: .viewer, showProgress: true),
EditAssetAction(source: .viewer), 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)]), ..._actionColumnButtons(context, ref, const [DeleteAction(source: .viewer)]),
], ],
@ -94,7 +94,10 @@ class ViewerBottomBar extends ConsumerWidget {
if (asset.isImage) OcrToggleButton(asset: asset), if (asset.isImage) OcrToggleButton(asset: asset),
if (asset.isVideo) VideoControls(videoPlayerName: asset.heroTag), if (asset.isVideo) VideoControls(videoPlayerName: asset.heroTag),
if (!isReadonlyModeEnabled) if (!isReadonlyModeEnabled)
Row(mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: actions), ImmichColorOverride(
color: Colors.white,
child: Row(mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: actions),
),
], ],
), ),
), ),