Skip to content

Commit 3b8cb01

Browse files
Update delegate method with actual types instead of String.
1 parent 0145e22 commit 3b8cb01

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

WooCommerce/Classes/Authentication/AuthenticationManager.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,10 @@ extension AuthenticationManager: WordPressAuthenticatorDelegate {
390390
/// - lastStep: Last `Step` tracked in `AuthenticatorAnalyticsTracker`
391391
/// - lastFlow: Last `Flow` tracked in `AuthenticatorAnalyticsTracker`
392392
///
393-
func presentSupport(from sourceViewController: UIViewController, sourceTag: WordPressSupportSourceTag, lastStep: String, lastFlow: String) {
393+
func presentSupport(from sourceViewController: UIViewController,
394+
sourceTag: WordPressSupportSourceTag,
395+
lastStep: AuthenticatorAnalyticsTracker.Step,
396+
lastFlow: AuthenticatorAnalyticsTracker.Flow) {
394397
guard let customHelpCenterContent = CustomHelpCenterContent(step: lastStep, flow: lastFlow)else {
395398
presentSupport(from: sourceViewController)
396399
return

0 commit comments

Comments
 (0)