mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 17:25:35 +03:00
feat(mobile): add the number of activities to the activity button label
This commit is contained in:
@@ -62,6 +62,9 @@ class Activity {
|
||||
|
||||
class ActivityStats {
|
||||
final int comments;
|
||||
final int likes;
|
||||
|
||||
const ActivityStats({required this.comments});
|
||||
const ActivityStats({required this.comments, required this.likes});
|
||||
|
||||
int get total => comments + likes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user