Эх сурвалжийг харах

Merge pull request #1315 from deltachat/dark_mode_block_ui

fix inputbarAccessoryView background color
bjoern 4 жил өмнө
parent
commit
f4d85f0366

+ 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() {