Explorar o código

don't present attachment icon as disabled

cyberta %!s(int64=5) %!d(string=hai) anos
pai
achega
d7f62abdcd
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      deltachat-ios/Controller/ChatViewController.swift

+ 2 - 3
deltachat-ios/Controller/ChatViewController.swift

@@ -443,12 +443,11 @@ class ChatViewController: MessagesViewController {
                     $0.spacing = .fixed(0)
                     let clipperIcon = #imageLiteral(resourceName: "ic_attach_file_36pt").withRenderingMode(.alwaysTemplate)
                     $0.image = clipperIcon
-                    $0.tintColor = DcColors.colorDisabled
-                    $0.setSize(CGSize(width: 30, height: 30), animated: false)
+                    $0.tintColor = UIColor.themeColor(light: .darkGray, dark: .lightGray)
                 }.onSelected {
                     $0.tintColor = DcColors.primary
                 }.onDeselected {
-                    $0.tintColor = DcColors.colorDisabled
+                    $0.tintColor = UIColor.themeColor(light: .darkGray, dark: .lightGray)
                 }.onTouchUpInside { _ in
                     self.clipperButtonPressed()
                 }