mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Update Voice Broadcast recorder cell by adjusting some padding values
This commit is contained in:
+5
-5
@@ -42,9 +42,9 @@ struct VoiceBroadcastRecorderView: View {
|
||||
VStack(alignment: .center) {
|
||||
|
||||
HStack(alignment: .top) {
|
||||
AvatarImage(avatarData: viewModel.viewState.details.avatarData, size: .xSmall)
|
||||
AvatarImage(avatarData: viewModel.viewState.details.avatarData, size: .small)
|
||||
|
||||
VStack(alignment: .leading, spacing: 0) {
|
||||
VStack(alignment: .leading, spacing: 3) {
|
||||
Text(details.avatarData.displayName ?? details.avatarData.matrixItemId)
|
||||
.font(theme.fonts.bodySB)
|
||||
.foregroundColor(theme.colors.primaryContent)
|
||||
@@ -77,7 +77,7 @@ struct VoiceBroadcastRecorderView: View {
|
||||
.accessibilityIdentifier("liveButton")
|
||||
}
|
||||
|
||||
HStack(alignment: .top, spacing: 16.0) {
|
||||
HStack(alignment: .top, spacing: 34.0) {
|
||||
Button {
|
||||
switch viewModel.viewState.recordingState {
|
||||
case .started, .resumed:
|
||||
@@ -117,9 +117,9 @@ struct VoiceBroadcastRecorderView: View {
|
||||
.disabled(viewModel.viewState.recordingState == .stopped)
|
||||
.mask(Color.black.opacity(viewModel.viewState.recordingState == .stopped ? 0.3 : 1.0))
|
||||
}
|
||||
.padding(EdgeInsets(top: 10.0, leading: 0.0, bottom: 10.0, trailing: 0.0))
|
||||
}
|
||||
.padding([.horizontal, .top], 2.0)
|
||||
.padding([.bottom])
|
||||
.padding(EdgeInsets(top: 12.0, leading: 4.0, bottom: 12.0, trailing: 4.0))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user