Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Feb 20, 2025
1 parent 6d0ccc0 commit d669f6c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion deltachat-ios/Chat/Views/QuotePreview.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,14 @@ public class QuotePreview: DraftPreview {
}

override public func configure(draft: DraftModel) {
if !draft.isEditing,
if !draft.isEditing, let sendEditRequestFor = draft.sendEditRequestFor {
quoteView.senderTitle.text = String.localized("edit_message")
quoteView.senderTitle.textColor = DcColors.unknownSender
quoteView.quote.text = draft.dcContext.getMessage(id: sendEditRequestFor).text
quoteView.setImagePreview(nil)
quoteView.citeBar.backgroundColor = DcColors.unknownSender
isHidden = false
} else if !draft.isEditing,
let quoteText = draft.quoteText {
quoteView.quote.text = quoteText
compactView = draft.attachment != nil
Expand Down

0 comments on commit d669f6c

Please sign in to comment.