[iOS] change text in direct link cell if list in public

https://jira.mail.ru/browse/MAPSME-9871
This commit is contained in:
Aleksey Belouosv 2019-03-01 16:07:05 +03:00 committed by Aleksandr Zatsepin
parent 8771c0fbcb
commit 8f015f6038
2 changed files with 3 additions and 1 deletions

View file

@ -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)
}

View file

@ -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
}