From f9c7ba735a7652f3d7ce8416ecfcebd6a8435997 Mon Sep 17 00:00:00 2001 From: delta-null Date: Thu, 26 Feb 2026 16:17:21 +0300 Subject: [PATCH] Open location in Yango --- Telegram/BUILD | 1 + submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift | 4 ++++ 2 files changed, 5 insertions(+) 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 }