mirror of
https://github.com/immich-app/immich.git
synced 2025-12-23 01:11:36 +03:00
fix: update JSON serialization for ActionButtonType and improve type safety
This commit is contained in:
@@ -67,7 +67,7 @@ enum ActionButtonType {
|
||||
unstack,
|
||||
likeActivity;
|
||||
|
||||
dynamic toJson() => name;
|
||||
String toJson() => name;
|
||||
|
||||
bool shouldShow(ActionButtonContext context) {
|
||||
return switch (this) {
|
||||
|
||||
Reference in New Issue
Block a user