Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/iphone
diff options
context:
space:
mode:
authorZoia Pribytkova <niakris90@gmail.com>2019-04-24 12:28:28 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2019-05-08 16:49:33 +0300
commita071fea95644f713a7b19a37f5e2c41e4fa58839 (patch)
treebf2fc9494ec0e647df316b3273cb5946eda1caba /iphone
parent5b41fbc9bc66b38274b8d3e85d4e2aa6f771bcd3 (diff)
[iOS] Replaced close button for the Guides Catalogue
Diffstat (limited to 'iphone')
-rw-r--r--iphone/Maps/Bookmarks/Catalog/CatalogWebViewController.swift4
1 files changed, 3 insertions, 1 deletions
diff --git a/iphone/Maps/Bookmarks/Catalog/CatalogWebViewController.swift b/iphone/Maps/Bookmarks/Catalog/CatalogWebViewController.swift
index 3ac1744d34..233bcc37f6 100644
--- a/iphone/Maps/Bookmarks/Catalog/CatalogWebViewController.swift
+++ b/iphone/Maps/Bookmarks/Catalog/CatalogWebViewController.swift
@@ -93,7 +93,9 @@ final class CatalogWebViewController: WebViewController {
progressView.tintColor = UIColor.white()
updateProgress()
- navigationItem.leftBarButtonItem = UIBarButtonItem(image: #imageLiteral(resourceName: "ic_catalog_close"), style: .plain, target: self, action: #selector(goBack))
+ navigationItem.leftBarButtonItem = nil
+ navigationItem.hidesBackButton = true
+ navigationItem.rightBarButtonItem = UIBarButtonItem(title: L("done"), style: .plain, target: self, action: #selector(goBack))
}
override func viewWillAppear(_ animated: Bool) {