Voice broadcast connection error handling while recording (#7282)

This commit is contained in:
Yoan Pintas
2023-01-18 16:27:13 +00:00
committed by GitHub
parent 152fc60aa1
commit d34cebc6be
13 changed files with 152 additions and 49 deletions
@@ -28,19 +28,17 @@ struct VoiceBroadcastPlaybackErrorView: View {
var action: (() -> Void)?
var body: some View {
VStack {
VStack {
ZStack {
HStack {
Image(uiImage: Asset.Images.errorIcon.image)
.frame(width: 40, height: 40)
Text(VectorL10n.voiceBroadcastPlaybackLoadingError)
.multilineTextAlignment(.center)
.font(theme.fonts.caption1)
.foregroundColor(theme.colors.primaryContent)
.foregroundColor(theme.colors.alert)
}
.padding()
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
.background(theme.colors.system.ignoresSafeArea())
}
}