Update live badge layout for recorder and player VoiceBroadcast cells

This commit is contained in:
Philippe Loriaux
2022-12-16 16:40:46 +01:00
parent 33f631027d
commit b621727a1b
2 changed files with 6 additions and 4 deletions
@@ -69,11 +69,12 @@ struct VoiceBroadcastRecorderView: View {
Text(VectorL10n.voiceBroadcastLive)
.font(theme.fonts.caption1SB)
.foregroundColor(Color.white)
.padding(.leading, -4)
} icon: {
Image(uiImage: Asset.Images.voiceBroadcastLive.image)
}
.padding(.horizontal, 5)
.background(RoundedRectangle(cornerRadius: 4, style: .continuous).fill(backgroundColor))
.padding(EdgeInsets(top: 2.0, leading: 4.0, bottom: 2.0, trailing: 4.0))
.background(RoundedRectangle(cornerRadius: 2, style: .continuous).fill(backgroundColor))
.accessibilityIdentifier("liveButton")
}