浏览代码

revert unintended draft-area change

cyberta 3 年之前
父节点
当前提交
0eccdb29cc
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      deltachat-ios/Chat/ChatViewController.swift

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

@@ -724,8 +724,7 @@ class ChatViewController: UITableViewController {
             messageInputBar.setRightStackViewWidthConstant(to: 40, animated: false)
             messageInputBar.padding = UIEdgeInsets(top: 6, left: 6, bottom: 6, right: 12)
         }
-
-        messageInputBar.setStackViewItems([draftArea], forStack: .top, animated: false)
+        messageInputBar.setStackViewItems([draftArea], forStack: .top, animated: animated)
     }
 
     override func tableView(_ tableView: UITableView, trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? {