feat(mobile): add the number of activities to the activity button label

This commit is contained in:
idubnori
2025-12-18 01:31:29 +09:00
parent 3e8635431e
commit d63a1bcd07
12 changed files with 50 additions and 29 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ class ActivityService with ErrorLoggerMixin {
Future<ActivityStats> getStatistics(String albumId, {String? assetId}) async {
return logError(
() => _activityApiRepository.getStats(albumId, assetId: assetId),
defaultValue: const ActivityStats(comments: 0),
defaultValue: const ActivityStats(comments: 0, likes: 0),
errorMessage: "Failed to statistics for album $albumId",
);
}