diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f8a690df..b50b4f24f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Delta Chat iOS Changelog +## Unreleased + +- offer to open http-links detected as proxy also in the browser (#6237) + + ## v1.48.4 - fix: show forward-icon on iOS 15 and older diff --git a/deltachat-ios/Coordinator/AppCoordinator.swift b/deltachat-ios/Coordinator/AppCoordinator.swift index 650a9453a..9050bb02e 100644 --- a/deltachat-ios/Coordinator/AppCoordinator.swift +++ b/deltachat-ios/Coordinator/AppCoordinator.swift @@ -219,6 +219,13 @@ class AppCoordinator: NSObject { selectAlert.addAction(cancelAction) selectAlert.addAction(selectAction) + if proxyURL.starts(with: "http") { + selectAlert.addAction(UIAlertAction(title: String.localized("open"), style: .default) { _ in + if let url = URL(string: proxyURL) { + UIApplication.shared.open(url) + } + }) + } viewController.present(selectAlert, animated: true) }