Skip to content

Commit

Permalink
feat: add Organic Maps app to the open in options
Browse files Browse the repository at this point in the history
  • Loading branch information
kirylkaveryn committed Jun 21, 2024
1 parent a568e2d commit 8805630
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8805630

Please sign in to comment.