Browse Source

fix indentation

cyberta 4 năm trước cách đây
mục cha
commit
bd7ecd9514
1 tập tin đã thay đổi với 5 bổ sung6 xóa
  1. 5 6
      deltachat-ios/Chat/ChatViewController.swift

+ 5 - 6
deltachat-ios/Chat/ChatViewController.swift

@@ -912,12 +912,11 @@ class ChatViewController: UITableViewController {
             .onEnabled { item in
                 UIView.animate(withDuration: 0.3, animations: {
                     item.backgroundColor = DcColors.primary
-                })
-        }.onDisabled { item in
-            UIView.animate(withDuration: 0.3, animations: {
-                item.backgroundColor = DcColors.colorDisabled
-            })
-        }
+                })}
+            .onDisabled { item in
+                UIView.animate(withDuration: 0.3, animations: {
+                    item.backgroundColor = DcColors.colorDisabled
+                })}
     }
 
     @objc private func chatProfilePressed() {