فهرست منبع

Merge pull request #1315 from deltachat/dark_mode_block_ui

fix inputbarAccessoryView background color
bjoern 4 سال پیش
والد
کامیت
f4d85f0366
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  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() {