Skip to content

Commit

Permalink
Merge pull request #1053 from 0x1-company/invite-friend-completion
Browse files Browse the repository at this point in the history
feat: 🎸 add log event invite friend completion activity type
  • Loading branch information
tomokisun authored Dec 4, 2023
2 parents a529ef4 + 98297c1 commit 52078ca
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ public struct InviteFriendLogic {

case let .onCompletion(completion):
state.destination = nil
analytics.logEvent("activity_completion", [
"activity_type": completion.activityType?.rawValue
])
guard
completion.result,
state.remainingInvitationCount > 0
Expand Down

0 comments on commit 52078ca

Please sign in to comment.