mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 06:33:42 +00:00
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
18 lines
398 B
Swift
18 lines
398 B
Swift
protocol ElevationDetailsRouterProtocol: AnyObject {
|
|
func close()
|
|
}
|
|
|
|
class ElevationDetailsRouter {
|
|
private weak var viewController: UIViewController?
|
|
|
|
init(viewController: UIViewController) {
|
|
self.viewController = viewController
|
|
}
|
|
}
|
|
|
|
extension ElevationDetailsRouter: ElevationDetailsRouterProtocol {
|
|
func close() {
|
|
viewController?.dismiss(animated: true, completion: nil)
|
|
}
|
|
}
|