Browse Source

fix indentation

cyberta 4 years ago
parent
commit
bd7ecd9514
1 changed files with 5 additions and 6 deletions
  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() {