mirror of
https://github.com/immich-app/immich.git
synced 2025-12-16 17:23:16 +03:00
refactor: bottom sheet action button (#20964)
* fix: incorrect archive action shown in asset viewer' * Refactor * use enums syntax and add tests
This commit is contained in:
@@ -44,6 +44,7 @@ class LikeActivityActionButton extends ConsumerWidget {
|
||||
);
|
||||
|
||||
return BaseActionButton(
|
||||
maxWidth: 60,
|
||||
iconData: liked != null ? Icons.favorite : Icons.favorite_border,
|
||||
label: "like".t(context: context),
|
||||
onPressed: () => onTap(liked),
|
||||
|
||||
Reference in New Issue
Block a user