diff --git a/Telegram-iOS/Info.plist b/Telegram-iOS/Info.plist
index fc0352fef4..29ddef9dbe 100644
--- a/Telegram-iOS/Info.plist
+++ b/Telegram-iOS/Info.plist
@@ -261,6 +261,9 @@
ddgQuickLink
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 ccb3e9b0c3..726923a8b0 100644
--- a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift
+++ b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift
@@ -115,6 +115,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(application: .other(title: "DuckDuckGo", identifier: 663592361, scheme: "ddgQuickLink", store: nil), action: {
return .openUrl(url: "ddgQuickLink://\(url)")