Use "You" instead of Author name in quote

// FREEBIE
pull/1/head
Michael Kirk 7 years ago
parent 51eee90bb7
commit b3b3fa64e7

@ -45,7 +45,11 @@ class QuotedReplyPreview: UIView {
let authorLabel: UILabel = UILabel()
authorLabel.textColor = authorColor
authorLabel.text = Environment.current().contactsManager.displayName(forPhoneIdentifier: quotedMessage.authorId)
if isQuotingSelf {
authorLabel.text = NSLocalizedString("MEDIA_GALLERY_SENDER_NAME_YOU", comment: "")
} else {
authorLabel.text = Environment.current().contactsManager.displayName(forPhoneIdentifier: quotedMessage.authorId)
}
authorLabel.font = .ows_dynamicTypeHeadline
let bodyLabel: UILabel = UILabel()

Loading…
Cancel
Save