1.1.5: add analytics for stats_viewed and week_rated events
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -168,6 +168,7 @@ final class HomeViewModel: ObservableObject {
|
||||
func rateWeek(plan: WeekPlan, rating: Int) {
|
||||
plan.userRating = rating
|
||||
plan.updatedAt = Date()
|
||||
AnalyticsService.logWeekRated(rating: rating)
|
||||
HapticManager.shared.impact(style: .light)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user