Video chat improvements

This commit is contained in:
Isaac
2024-10-05 20:18:25 +04:00
parent 9e1dc11997
commit a6dffb4e3e
6 changed files with 28 additions and 22 deletions

View File

@@ -164,7 +164,7 @@ final class VideoChatActionButtonComponent: Component {
}
iconDiameter = 60.0
case let .video(isActive):
titleText = "video"
titleText = component.strings.VoiceChat_Video
switch component.microphoneState {
case .connecting:
backgroundColor = UIColor(white: 0.1, alpha: 1.0)
@@ -177,7 +177,7 @@ final class VideoChatActionButtonComponent: Component {
}
iconDiameter = 60.0
case .leave:
titleText = "leave"
titleText = component.strings.VoiceChat_Leave
backgroundColor = UIColor(rgb: 0x47191E)
iconDiameter = 22.0
}