Skip to content

Commit

Permalink
Update comment for the delay
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeichigo committed Sep 27, 2024
1 parent 62be0c8 commit f49c12e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ private extension BlazeCampaignCreationCoordinator {
return FeedbackView.Configuration(title: Localization.feedbackQuestion, onVote: { [weak self] vote in
guard let self else { return }
analytics.track(event: .Blaze.campaignCreationFeedbackReceived(positive: vote == .up))
/// Add 0.3s delay before showing survey page
/// Add 0.3s delay to let the vote be displayed on the UI before showing survey page.
DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
self.showSurveyPage()
}
Expand Down

0 comments on commit f49c12e

Please sign in to comment.