Skip to content

Commit e093de0

Browse files
authored
fix: UI issues with minimized call - WPB-14540 (#4058)
1 parent 3666281 commit e093de0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

WireUI/Sources/WireDesign/Colors/ColorTheme.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public enum ColorTheme {
6868
public static let onWarning = UIColor(light: .white, dark: .black)
6969

7070
public static let positive = UIColor(light: .green500Light, dark: .green500Dark)
71+
public static let onPositive = UIColor(light: .white, dark: .black)
7172
public static let onSuccess = UIColor(light: .white, dark: .black)
7273

7374
public static let highlight = UIColor(light: .amber200Dark, dark: .amber300Dark)

wire-ios/Wire-iOS/Sources/UserInterface/Overlay/CallTopOverlayController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ final class CallTopOverlayController: UIViewController {
113113
tapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(openCall(_:)))
114114

115115
view.clipsToBounds = true
116-
view.backgroundColor = SemanticColors.View.backgroundCallTopOverlay
116+
view.backgroundColor = ColorTheme.Base.positive
117117
view.accessibilityIdentifier = "OpenOngoingCallButton"
118118
view.shouldGroupAccessibilityChildren = true
119119
view.isAccessibilityElement = true
@@ -126,7 +126,7 @@ final class CallTopOverlayController: UIViewController {
126126
durationLabel.translatesAutoresizingMaskIntoConstraints = false
127127
interactiveView.addSubview(durationLabel)
128128
durationLabel.font = FontSpec(.small, .semibold).font
129-
durationLabel.textColor = SemanticColors.Label.textDefault
129+
durationLabel.textColor = ColorTheme.Base.onPositive
130130
durationLabel.lineBreakMode = .byTruncatingMiddle
131131
durationLabel.textAlignment = .center
132132

@@ -159,7 +159,7 @@ final class CallTopOverlayController: UIViewController {
159159
if displayMuteIcon {
160160
muteIcon.setIcon(.microphoneOff, size: 12, color: .white)
161161
muteIcon.setTemplateIcon(.microphoneOff, size: 12)
162-
muteIcon.tintColor = SemanticColors.Icon.foregroundDefaultWhite
162+
muteIcon.tintColor = ColorTheme.Base.onPositive
163163
muteIconWidth?.constant = 12
164164
} else {
165165
muteIcon.image = nil

0 commit comments

Comments
 (0)