forked from organicmaps/organicmaps
[iOS] change text in direct link cell if list in public
https://jira.mail.ru/browse/MAPSME-9871
This commit is contained in:
parent
8771c0fbcb
commit
8f015f6038
2 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue