From f49c12ef4af54c7567fd0c63d1635cc68744c639 Mon Sep 17 00:00:00 2001 From: Huong Do Date: Fri, 27 Sep 2024 13:03:18 +0700 Subject: [PATCH] Update comment for the delay --- .../Classes/Blaze/BlazeCampaignCreationCoordinator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WooCommerce/Classes/Blaze/BlazeCampaignCreationCoordinator.swift b/WooCommerce/Classes/Blaze/BlazeCampaignCreationCoordinator.swift index 79759e5b3f1..a8eab9f2f74 100644 --- a/WooCommerce/Classes/Blaze/BlazeCampaignCreationCoordinator.swift +++ b/WooCommerce/Classes/Blaze/BlazeCampaignCreationCoordinator.swift @@ -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() }