Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
|
|
@ -0,0 +1,22 @@
|
|||
|
||||
@objc(MWMDownloaderNoResultsEmbedViewController)
|
||||
final class DownloaderNoResultsEmbed: UINavigationController {
|
||||
|
||||
@objc(MWMDownloaderNoResultsScreen)
|
||||
enum Screen: Int {
|
||||
|
||||
case noMaps
|
||||
case noSearchResults
|
||||
}
|
||||
|
||||
@objc var screen = Screen.noMaps {
|
||||
didSet {
|
||||
let controller: MWMViewController
|
||||
switch screen {
|
||||
case .noMaps: controller = MWMNoMapsViewController.controller()
|
||||
case .noSearchResults: controller = SearchNoResultsViewController.controller
|
||||
}
|
||||
setViewControllers([controller], animated: false)
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue