From 880563046180384ff9ba52baa7782836e1acd414 Mon Sep 17 00:00:00 2001 From: Kiryl Date: Fri, 21 Jun 2024 12:21:20 +0400 Subject: [PATCH] feat: add Organic Maps app to the open in options --- submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift index e359d7895ba..d085ca815ef 100644 --- a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift +++ b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift @@ -243,7 +243,11 @@ private func allOpenInOptions(context: AccountContext, item: OpenInItem) -> [Ope return .openUrl(url: "yandexmaps://maps.yandex.ru/?pt=\(lon),\(lat)&z=16") } })) - + + options.append(OpenInOption(identifier: "organicMaps", application: .other(title: "Organic Maps", identifier: 1567437057, scheme: "om", store: nil), action: { + return .openUrl(url: "om://map?v=1&ll=\(lat),\(lon)") + })) + options.append(OpenInOption(identifier: "uber", application: .other(title: "Uber", identifier: 368677368, scheme: "uber", store: nil), action: { let dropoffName: String let dropoffAddress: String