Skip to content

Commit

Permalink
use ksr_delay insted of ksr_debounce
Browse files Browse the repository at this point in the history
  • Loading branch information
scottkicks committed Jan 19, 2023
1 parent e166e80 commit a5df41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kickstarter-iOS/AppDelegateViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ public final class AppDelegateViewModel: AppDelegateViewModelType, AppDelegateVi

self.requestATTrackingAuthorizationStatus = self.applicationLaunchOptionsProperty.signal
.skipNil()
.ksr_debounce(.seconds(1), on: AppEnvironment.current.scheduler)
.ksr_delay(.seconds(1), on: AppEnvironment.current.scheduler)
.map { _ -> ATTrackingAuthorizationStatus in
guard featureConsentManagementDialogEnabled() else { return .notDetermined }
return atTrackingAuthorizationStatus()
Expand Down

0 comments on commit a5df41e

Please sign in to comment.