Эх сурвалжийг харах

force layout update on orientation change - fixes missing cell.update call on orientation change directly after entering a chat

cyberta 4 жил өмнө
parent
commit
b3423ebc64

+ 1 - 0
deltachat-ios/Chat/ChatViewController.swift

@@ -313,6 +313,7 @@ class ChatViewController: UITableViewController {
                 if lastSectionVisibleBeforeTransition {
                 if lastSectionVisibleBeforeTransition {
                     DispatchQueue.main.async { [weak self] in
                     DispatchQueue.main.async { [weak self] in
                         self?.scrollToBottom(animated: true)
                         self?.scrollToBottom(animated: true)
+                        self?.tableView.reloadData()
                     }
                     }
                 }
                 }
             }
             }