diff --git a/Telegram/BUILD b/Telegram/BUILD index 4aac94e40bf..6927b201e99 100644 --- a/Telegram/BUILD +++ b/Telegram/BUILD @@ -1782,6 +1782,7 @@ plist_fragment( foursquare here-location yandexmaps + yandextaxi yandexnavi comgooglemaps youtube diff --git a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift index e359d7895ba..c944b5820fa 100644 --- a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift +++ b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift @@ -323,6 +323,10 @@ private func allOpenInOptions(context: AccountContext, item: OpenInItem) -> [Ope return .openUrl(url: url) } })) + + options.append(OpenInOption(identifier: "yandexGo", application: .other(title: "Yangex Go", identifier: 472650686, scheme: "yandextaxi", store: nil), action: { + return .openUrl(url: "yandextaxi://route?end-lat=\(lat)&end-lon=\(lon)") + })) } return options }