Skip to content

Commit

Permalink
chore: fix cherry-pick conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
El-Fitz committed Jan 17, 2025
1 parent de27928 commit 7de7f38
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -505,20 +505,7 @@ extension AuthenticationCoordinator {

/// Opens the URL in the selected browser
private func openURL(_ url: URL) {
<<<<<<< HEAD
let browser = BrowserViewController(url: url)
browser.onDismiss = {
if let alertModel = self.pendingAlert {
self.stopActivityIndicator()
self.presentAlert(for: alertModel)
self.pendingAlert = nil
}
}

presenter?.present(browser, animated: true, completion: nil)
=======
url.open()
>>>>>>> 4714bdf90b (feat: open password reset link in browser - WPB-11685 (#2095))
}

/// Presents an error alert.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,6 @@ extension SettingsCellDescriptorFactory {

func resetPasswordElement() -> any SettingsCellDescriptorType {
let resetPasswordTitle = L10n.Localizable.Self.Settings.PasswordResetMenu.title
<<<<<<< HEAD
return SettingsExternalScreenCellDescriptor(
title: resetPasswordTitle,
isDestructive: false,
Expand All @@ -413,12 +412,6 @@ extension SettingsCellDescriptorFactory {
},
previewGenerator: .none
)
=======
return SettingsExternalScreenCellDescriptor(title: resetPasswordTitle, isDestructive: false, presentationStyle: .modal, presentationAction: {
URL.wr_passwordReset.open()
return nil
}, previewGenerator: .none)
>>>>>>> 4714bdf90b (feat: open password reset link in browser - WPB-11685 (#2095))
}

func deleteAccountButtonElement() -> any SettingsCellDescriptorType {
Expand Down

0 comments on commit 7de7f38

Please sign in to comment.