diff --git a/Telegram/BUILD b/Telegram/BUILD index 279220ba6d0..d28cba504a6 100644 --- a/Telegram/BUILD +++ b/Telegram/BUILD @@ -1552,6 +1552,7 @@ plist_fragment( here-location yandexmaps yandexnavi + yangoride comgooglemaps youtube twitter diff --git a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift index b335164ac46..955ea958dbd 100644 --- a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift +++ b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift @@ -330,6 +330,10 @@ private func allOpenInOptions(context: AccountContext, item: OpenInItem) -> [Ope return .openUrl(url: url) } })) + + options.append(OpenInOption(identifier: "yango", application: .other(title: "Yango", identifier: 1437157286, scheme: "yangoride", store: nil), action: { + return .openUrl(url: "yangoride://route?end-lat=\(lat)&end-lon=\(lon)") + })) } return options }