Fix video stream playback

This commit is contained in:
Ali
2022-02-27 15:43:52 +04:00
parent 9c7dc185fe
commit e92f83504a
4 changed files with 34 additions and 27 deletions

View File

@@ -703,7 +703,7 @@ public final class MediaStreamComponent: CombinedComponent {
topInset: environment.statusBarHeight,
sideInset: environment.safeInsets.left,
leftItem: AnyComponent(Button(
content: AnyComponent(NavigationBackButtonComponent(text: environment.strings.Common_Close, color: .white)),
content: AnyComponent(Text(text: environment.strings.Common_Close, font: Font.regular(17.0), color: .white)),
action: { [weak call] in
let _ = call?.leave(terminateIfPossible: false)
})