Skip to content

Commit 3db4a28

Browse files
Pass custom sign in source while initializing AccountCreationFormHostingController
1 parent 9ea8f44 commit 3db4a28

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

WooCommerce/Classes/Authentication/Navigation Exceptions/NotWPAccountViewModel.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ private extension NotWPAccountViewModel {
120120
return
121121
}
122122

123-
let accountCreationController = AccountCreationFormHostingController(viewModel: .init()) { [weak self] in
123+
let accountCreationController = AccountCreationFormHostingController(
124+
viewModel: .init(),
125+
signInSource: .custom(source: StoreCreationCoordinator.Source.prologue.rawValue)
126+
) { [weak self] in
124127
guard let self else { return }
125128
self.launchStorePicker(from: navigationController)
126129
}

0 commit comments

Comments
 (0)