Skip to content

Commit 8805630

Browse files
committed
feat: add Organic Maps app to the open in options
1 parent a568e2d commit 8805630

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,11 @@ private func allOpenInOptions(context: AccountContext, item: OpenInItem) -> [Ope
243243
return .openUrl(url: "yandexmaps://maps.yandex.ru/?pt=\(lon),\(lat)&z=16")
244244
}
245245
}))
246-
246+
247+
options.append(OpenInOption(identifier: "organicMaps", application: .other(title: "Organic Maps", identifier: 1567437057, scheme: "om", store: nil), action: {
248+
return .openUrl(url: "om://map?v=1&ll=\(lat),\(lon)")
249+
}))
250+
247251
options.append(OpenInOption(identifier: "uber", application: .other(title: "Uber", identifier: 368677368, scheme: "uber", store: nil), action: {
248252
let dropoffName: String
249253
let dropoffAddress: String

0 commit comments

Comments
 (0)