소스 검색

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