Skip to content

Commit

Permalink
Add analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelacaron committed Nov 25, 2023
1 parent 3096326 commit 020bf49
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ class OdometerViewModel {
.document(id)
.setData(from: readingToUpdate)

AnalyticsService.shared.logEvent(.odometerUpdate)

isShowingEditReadingView = false
} catch {
errorMessage = error.localizedDescription
Expand Down

0 comments on commit 020bf49

Please sign in to comment.