Fix icon and text colors on tiles

This commit is contained in:
ismailgulek
2021-04-09 15:23:46 +03:00
parent 7bb9166e8c
commit 4b7167ab73
3 changed files with 5 additions and 6 deletions
@@ -91,10 +91,10 @@ extension CallBubbleCellBaseContentView: Themable {
bgView.backgroundColor = theme.headerBackgroundColor
callerNameLabel.textColor = theme.textPrimaryColor
callIconView.tintColor = theme.textSecondaryColor
callTypeLabel.textColor = theme.textSecondaryColor
dotLabel.textColor = theme.textSecondaryColor
callStatusLabel.textColor = theme.textSecondaryColor
callIconView.tintColor = theme.textTertiaryColor
callTypeLabel.textColor = theme.textTertiaryColor
dotLabel.textColor = theme.textTertiaryColor
callStatusLabel.textColor = theme.textTertiaryColor
if let bottomContainerView = bottomContainerView as? Themable {
bottomContainerView.update(theme: theme)
@@ -336,7 +336,7 @@ class RoomDirectCallStatusBubbleCell: RoomBaseCallBubbleCell {
callDurationString = readableCallDuration(from: events)
isIncoming = inviteEvent.sender != bubbleCellData.mxSession.myUserId
callInviteEvent = inviteEvent
innerContentView.callIconView.image = self.callTypeIcon.vc_tintedImage(usingColor: innerContentView.theme.textSecondaryColor)
innerContentView.callIconView.image = self.callTypeIcon
innerContentView.callTypeLabel.text = isVideoCall ?
VectorL10n.eventFormatterCallVideo :
VectorL10n.eventFormatterCallVoice
@@ -203,7 +203,6 @@ class RoomGroupCallStatusBubbleCell: RoomBaseCallBubbleCell {
self.widgetEvent = widgetEvent
self.widgetId = widgetId
innerContentView.callIconView.image = Asset.Images.tabGroups.image
.vc_tintedImage(usingColor: innerContentView.theme.textSecondaryColor)
innerContentView.callTypeLabel.text = VectorL10n.eventFormatterGroupCall
if isIncoming && !isJoined &&