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:
authorAleksey Belouosv <aleksey@maps.me>2019-03-01 16:07:05 +0300
committerAleksandr Zatsepin <alexzatsepin@users.noreply.github.com>2019-03-13 12:57:30 +0300
commit8f015f6038c306057100a9aa2268d222f80aae37 (patch)
tree918cd724d0fcbaecb784611255f39e85479d8d69 /iphone
parent8771c0fbcba596d3f1c96a0e9331ae032268abc0 (diff)
[iOS] change text in direct link cell if list in public
https://jira.mail.ru/browse/MAPSME-9871
Diffstat (limited to 'iphone')
-rw-r--r--iphone/Maps/Bookmarks/Categories/Sharing/BookmarksSharingViewController.swift3
-rw-r--r--iphone/Maps/Bookmarks/Categories/Sharing/UploadActionCell.swift1
2 files changed, 3 insertions, 1 deletions
diff --git a/iphone/Maps/Bookmarks/Categories/Sharing/BookmarksSharingViewController.swift b/iphone/Maps/Bookmarks/Categories/Sharing/BookmarksSharingViewController.swift
index b373c21390..77ab764cb6 100644
--- a/iphone/Maps/Bookmarks/Categories/Sharing/BookmarksSharingViewController.swift
+++ b/iphone/Maps/Bookmarks/Categories/Sharing/BookmarksSharingViewController.swift
@@ -93,7 +93,8 @@ final class BookmarksSharingViewController: MWMTableViewController {
getDirectLinkCell.config(titles: [ .normal : L("upload_and_get_direct_link"),
.inProgress : L("direct_link_progress_text"),
.updating : L("direct_link_updating_text"),
- .completed : L("direct_link_success") ],
+ .completed : L("direct_link_success"),
+ .disabled : L("upload_and_publish_success")],
image: UIImage(named: "ic24PxLink"),
delegate: self)
}
diff --git a/iphone/Maps/Bookmarks/Categories/Sharing/UploadActionCell.swift b/iphone/Maps/Bookmarks/Categories/Sharing/UploadActionCell.swift
index 55b65df97e..b4af15d36f 100644
--- a/iphone/Maps/Bookmarks/Categories/Sharing/UploadActionCell.swift
+++ b/iphone/Maps/Bookmarks/Categories/Sharing/UploadActionCell.swift
@@ -66,6 +66,7 @@ final class UploadActionCell: MWMTableViewCell {
actionImage.tintColor = .blackSecondaryText()
actionTitle.textColor = .blackSecondaryText()
actionTitle.font = .regular16()
+ actionTitle.text = titles?[.disabled]
shareButton.isHidden = true
selectionStyle = .none
}