Jelajahi Sumber

add animations

cyberta 4 tahun lalu
induk
melakukan
79726b3034
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      deltachat-ios/Chat/ChatViewController.swift

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

@@ -417,7 +417,7 @@ class ChatViewController: UITableViewController {
     private func configureDraftArea(draft: DraftModel) {
         quotePreview.configure(draft: draft)
         // setStackViewItems recalculates the proper messageInputBar height
-        messageInputBar.setStackViewItems([quotePreview], forStack: .top, animated: false)
+        messageInputBar.setStackViewItems([quotePreview], forStack: .top, animated: true)
     }
 
     override func tableView(_ tableView: UITableView, trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? {