mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-30 08:12:40 +00:00
Merge pull request #2797 from vector-im/riot_2630
BF: Emoji Picker: Background color is not white
This commit is contained in:
commit
5179622c7e
4 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
===============================================
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue