Skip to content

Commit

Permalink
Merge pull request #5155 from wikimedia/yir-login-fix
Browse files Browse the repository at this point in the history
[YiR] Present Year in Review after survey > login/create account
  • Loading branch information
l-olson1214 authored Jan 14, 2025
2 parents 9163ddb + a988804 commit 48a44cf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Wikipedia/Code/YearInReviewCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,20 @@ final class YearInReviewCoordinator: NSObject, Coordinator {

DonateFunnel.shared.logYearInReviewLoginPromptDidTapLogin()
let loginCoordinator = LoginCoordinator(navigationController: self.navigationController, theme: self.theme)


loginCoordinator.loginSuccessCompletion = {
self.navigationController.dismiss(animated: true) {
self.start()
}
}

loginCoordinator.createAccountSuccessCustomDismissBlock = {
self.navigationController.dismiss(animated: true) {
self.start()
}
}

loginCoordinator.start()
}
let action2 = UIAlertAction(title: button2Title, style: .default) { action in
Expand Down

0 comments on commit 48a44cf

Please sign in to comment.