From 2774ae0676fa5bd7a229353e778b41441f57dbad Mon Sep 17 00:00:00 2001 From: Soner Yuksel Date: Wed, 25 Oct 2023 10:53:25 -0400 Subject: [PATCH] Pull request comments are addressed --- App/iOS/Delegates/AppDelegate.swift | 2 +- Sources/Growth/URP/UserReferralProgram.swift | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/App/iOS/Delegates/AppDelegate.swift b/App/iOS/Delegates/AppDelegate.swift index 5a832b81ea3..d4959f9e69a 100644 --- a/App/iOS/Delegates/AppDelegate.swift +++ b/App/iOS/Delegates/AppDelegate.swift @@ -220,7 +220,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { } if Preferences.URP.installAttributionLookupOutstanding.value == nil { - // Similarly to referral lookup set thgis prefrence if it is never set + // Similarly to referral lookup, this prefrence should be set if it is a new user // Trigger install attribution fetch only first launch Preferences.URP.installAttributionLookupOutstanding.value = isFirstLaunch diff --git a/Sources/Growth/URP/UserReferralProgram.swift b/Sources/Growth/URP/UserReferralProgram.swift index 656708bbe51..e6af1550fdd 100644 --- a/Sources/Growth/URP/UserReferralProgram.swift +++ b/Sources/Growth/URP/UserReferralProgram.swift @@ -7,7 +7,6 @@ import Shared import Preferences import WebKit import os.log -import iAd import AdServices public class UserReferralProgram {