Explorar o código

fix indentation

cyberta %!s(int64=4) %!d(string=hai) anos
pai
achega
bd7ecd9514
Modificáronse 1 ficheiros con 5 adicións e 6 borrados
  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() {