ui: emoji picker background color fix

pull/638/head
Ryan Zhao 3 years ago
parent 447d24898a
commit 8fe2e2d1d9

@ -60,7 +60,7 @@ class EmojiPickerCollectionView: UICollectionView {
withReuseIdentifier: EmojiSectionHeader.reuseIdentifier
)
backgroundColor = isDarkMode ? .ows_gray90 : .ows_white
backgroundColor = .clear
let longPressGesture = UILongPressGestureRecognizer(target: self, action: #selector(handleLongPress))
panGestureRecognizer.require(toFail: longPressGesture)

@ -22,7 +22,7 @@ class EmojiPickerSheet: BaseVC {
private lazy var searchBar: SearchBar = {
let result = SearchBar()
result.tintColor = Colors.text
result.backgroundColor = isDarkMode ? .ows_gray90 : .ows_white
result.backgroundColor = .clear
result.delegate = self
return result
}()

@ -116,12 +116,12 @@ class EmojiSkinTonePicker: UIView {
layer.shadowOpacity = 0.25
layer.shadowRadius = 4
referenceOverlay.backgroundColor = isDarkMode ? .ows_gray75 : .ows_white
referenceOverlay.backgroundColor = Colors.modalBackground
referenceOverlay.layer.cornerRadius = 9
addSubview(referenceOverlay)
containerView.layoutMargins = UIEdgeInsets(top: 9, leading: 16, bottom: 9, trailing: 16)
containerView.backgroundColor = isDarkMode ? .ows_gray75 : .ows_white
containerView.backgroundColor = Colors.modalBackground
containerView.layer.cornerRadius = 11
addSubview(containerView)
containerView.autoPinWidthToSuperview()

Loading…
Cancel
Save