|
|
|
@ -532,10 +532,13 @@ class CaptioningToolbar: UIView, UITextViewDelegate {
|
|
|
|
|
|
|
|
|
|
textView.delegate = self
|
|
|
|
|
textView.backgroundColor = UIColor.white
|
|
|
|
|
textView.layer.cornerRadius = 4.0
|
|
|
|
|
textView.layer.cornerRadius = kMinTextViewHeight / 2
|
|
|
|
|
|
|
|
|
|
textView.addBorder(with: UIColor.lightGray)
|
|
|
|
|
textView.font = UIFont.ows_dynamicTypeBody
|
|
|
|
|
textView.returnKeyType = .done
|
|
|
|
|
textView.textContainerInset = UIEdgeInsets(top: 7, left: 7, bottom: 7, right: )
|
|
|
|
|
textView.scrollIndicatorInsets = UIEdgeInsets(top: 5, left: 0, bottom: 5, right: 3)
|
|
|
|
|
|
|
|
|
|
let sendTitle = NSLocalizedString("ATTACHMENT_APPROVAL_SEND_BUTTON", comment: "Label for 'send' button in the 'attachment approval' dialog.")
|
|
|
|
|
sendButton.setTitle(sendTitle, for: .normal)
|
|
|
|
|