Browse Source

ensure blur effect is correctly shown for all accessoryInputBars

cyberta 3 years ago
parent
commit
d97606001a

+ 0 - 2
deltachat-ios/Chat/Views/ChatContactRequestBar.swift

@@ -80,8 +80,6 @@ public class ChatContactRequestBar: UIView, InputItem {
             mainContentView.constraintAlignTrailingTo(self),
         ])
 
-        backgroundColor = DcColors.chatBackgroundColor
-
         let acceptGestureListener = UITapGestureRecognizer(target: self, action: #selector(onAcceptPressed))
         acceptButton.addGestureRecognizer(acceptGestureListener)
 

+ 0 - 2
deltachat-ios/Chat/Views/ChatEditingBar.swift

@@ -99,8 +99,6 @@ public class ChatEditingBar: UIView, InputItem {
             cancelButton.constraintHeightTo(36),
         ])
 
-        backgroundColor = DcColors.chatBackgroundColor
-
         let cancelGestureListener = UITapGestureRecognizer(target: self, action: #selector(onCancelPressed))
         cancelButton.addGestureRecognizer(cancelGestureListener)
 

+ 0 - 2
deltachat-ios/Chat/Views/ChatSearchAccessoryBar.swift

@@ -104,8 +104,6 @@ public class ChatSearchAccessoryBar: UIView, InputItem {
             downButton.constraintWidthTo(40)
         ])
 
-        backgroundColor = DcColors.chatBackgroundColor
-
         let upGestaureListener = UITapGestureRecognizer(target: self, action: #selector(onUpPressed))
         upButton.addGestureRecognizer(upGestaureListener)