Merge pull request #2797 from vector-im/riot_2630

BF: Emoji Picker: Background color is not white
This commit is contained in:
SBiOSoftWhare 2019-10-23 17:25:40 +02:00 committed by GitHub
commit 5179622c7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View file

@ -5,6 +5,7 @@ Bug fix:
* Room cell: The states of direct chat and favorite buttons are reversed in the menu (#2788).
* Pasteboard: Fix a crash when passing a nil object to UIPasteboard.
* RoomVC: Fix crash occurring when tap on an unsent media with retrieved event equal to nil.
* Emoji Picker: Background color is not white (#2630).
Changes in 0.10.0 (2019-10-11)
===============================================

View file

@ -26,7 +26,7 @@ final class EmojiPickerHeaderView: UICollectionReusableView, NibReusable {
// MARK: - Public
func update(theme: Theme) {
self.backgroundColor = theme.backgroundColor
self.backgroundColor = theme.headerBackgroundColor
self.titleLabel.textColor = theme.headerTextPrimaryColor
}

View file

@ -90,7 +90,7 @@ final class EmojiPickerViewCell: UICollectionViewCell, NibReusable, Themable {
reactionBackgroundColor = self.theme?.tintBackgroundColor
reactionBackgroundBorderWidth = Constants.selectedBorderWidth
} else {
reactionBackgroundColor = self.theme?.headerBackgroundColor
reactionBackgroundColor = self.theme?.backgroundColor
reactionBackgroundBorderWidth = 0.0
}

View file

@ -111,7 +111,7 @@ final class EmojiPickerViewController: UIViewController {
private func update(theme: Theme) {
self.theme = theme
self.view.backgroundColor = theme.headerBackgroundColor
self.view.backgroundColor = theme.backgroundColor
if let navigationBar = self.navigationController?.navigationBar {
theme.applyStyle(onNavigationBar: navigationBar)