diff --git a/Telegram-iOS/Info.plist b/Telegram-iOS/Info.plist
index b6e93bbe17..4b0bd45ff5 100644
--- a/Telegram-iOS/Info.plist
+++ b/Telegram-iOS/Info.plist
@@ -258,6 +258,8 @@
moovit
alook
dgis
+ microsoft-edge-http
+ microsoft-edge-https
LSRequiresIPhoneOS
diff --git a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift
index 1df0233426..d89d9c487e 100644
--- a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift
+++ b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift
@@ -116,6 +116,16 @@ private func allOpenInOptions(context: AccountContext, item: OpenInItem) -> [Ope
}
return .none
}))
+
+ options.append(OpenInOption(identifier: "edge", application: .other(title: "Microsoft Edge", identifier: 1288723196, scheme: "microsoft-edge-http", store: nil), action: {
+ if let url = URL(string: url), var components = URLComponents(url: url, resolvingAgainstBaseURL: true) {
+ components.scheme = components.scheme == "https" ? "microsoft-edge-https" : "microsoft-edge-http"
+ if let url = components.string {
+ return .openUrl(url: url)
+ }
+ }
+ return .none
+ }))
options.append(OpenInOption(identifier: "duckDuckGo", application: .other(title: "DuckDuckGo", identifier: 663592361, scheme: "ddgQuickLink", store: nil), action: {
return .openUrl(url: "ddgQuickLink://\(url)")