Browse Source

fix inputbarAccessoryView background color

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