Explorar o código

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

cyberta %!s(int64=4) %!d(string=hai) anos
pai
achega
b3423ebc64
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      deltachat-ios/Chat/ChatViewController.swift

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

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