mirror of
https://github.com/MessageKit/MessageKit.git
synced 2026-02-06 19:03:19 +00:00
Revert "Fix MessageInputBar translucent property"
This reverts commit f873c6d2bc.
This commit is contained in:
@@ -74,11 +74,7 @@ open class MessageInputBar: UIView {
|
||||
}
|
||||
blurView.isHidden = !isTranslucent
|
||||
let color: UIColor = backgroundView.backgroundColor ?? .white
|
||||
backgroundView.backgroundColor = isTranslucent ? color.withAlphaComponent(0.75) : color.withAlphaComponent(1.0)
|
||||
|
||||
let bgColor: UIColor = backgroundColor ?? .inputBarGray
|
||||
backgroundColor = isTranslucent ? bgColor.withAlphaComponent(0.75) : bgColor.withAlphaComponent(1.0)
|
||||
|
||||
backgroundView.backgroundColor = isTranslucent ? color.withAlphaComponent(0.75) : .white
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user