Explorar el Código

fix inputbarAccessoryView background color

cyberta hace 4 años
padre
commit
2e54897299
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      deltachat-ios/Chat/Views/ChatInputBar.swift

+ 2 - 1
deltachat-ios/Chat/Views/ChatInputBar.swift

@@ -27,12 +27,13 @@ public class ChatInputBar: InputBarAccessoryView {
     public override init(frame: CGRect) {
         super.init(frame: frame)
         setupKeyboardObserver()
+        backgroundView.backgroundColor = DcColors.defaultBackgroundColor
     }
 
     required public init?(coder aDecoder: NSCoder) {
         super.init(coder: aDecoder)
         setupKeyboardObserver()
-        backgroundColor = DcColors.chatBackgroundColor
+        backgroundView.backgroundColor = DcColors.defaultBackgroundColor
     }
 
     override open func setup() {