diff options
author | Zoia Pribytkova <niakris90@gmail.com> | 2019-04-24 12:28:28 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2019-05-08 16:49:33 +0300 |
commit | a071fea95644f713a7b19a37f5e2c41e4fa58839 (patch) | |
tree | bf2fc9494ec0e647df316b3273cb5946eda1caba /iphone | |
parent | 5b41fbc9bc66b38274b8d3e85d4e2aa6f771bcd3 (diff) |
[iOS] Replaced close button for the Guides Catalogue
Diffstat (limited to 'iphone')
-rw-r--r-- | iphone/Maps/Bookmarks/Catalog/CatalogWebViewController.swift | 4 |
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) { |