Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QuickLook swipe down and less message motion when coming back from GiveBackMyFirstResponder #2482

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
prevent wrong image in reused cells
  • Loading branch information
Amzd committed Jan 29, 2025
commit bee87a1116eec186b5546b431038c93a43c35e48
2 changes: 1 addition & 1 deletion deltachat-ios/Chat/ChatViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2637,7 +2637,7 @@ extension ChatViewController: QLPreviewControllerDelegate {
tableView.scrollToRow(at: indexPath, at: .none, animated: false)
}
if let cell = tableView.cellForRow(at: indexPath) as? BaseMessageCell,
let snapshot = cell.messageBackgroundContainer.snapshotView(afterScreenUpdates: false) {
let snapshot = cell.messageBackgroundContainer.snapshotView(afterScreenUpdates: true) {
if cell is ImageTextCell { // hide cell while transitioning
cell.layer.opacity = 0
}
Expand Down