fix a typo

pull/555/head
Ryan Zhao 4 years ago
parent 78af18413f
commit 837b2ac157

@ -321,7 +321,7 @@ final class ConversationVC : BaseVC, ConversationViewModelDelegate, OWSConversat
private func highlightFocusedMessageIfNeeded() { private func highlightFocusedMessageIfNeeded() {
if let indexPath = focusedMessageIndexPath, let cell = messagesTableView.cellForRow(at: indexPath) as? VisibleMessageCell { if let indexPath = focusedMessageIndexPath, let cell = messagesTableView.cellForRow(at: indexPath) as? VisibleMessageCell {
cell.highlithed() cell.highlight()
focusedMessageIndexPath = nil focusedMessageIndexPath = nil
} }
} }

@ -476,7 +476,7 @@ final class VisibleMessageCell : MessageCell, LinkPreviewViewDelegate {
} }
} }
func highlithed() { func highlight() {
bubbleView.setShadow(radius: 6, opacity: 1, offset: .zero, color: Colors.accent.cgColor) bubbleView.setShadow(radius: 6, opacity: 1, offset: .zero, color: Colors.accent.cgColor)
DispatchQueue.main.async { DispatchQueue.main.async {
UIView.animate(withDuration: 2) { UIView.animate(withDuration: 2) {

Loading…
Cancel
Save