mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 02:52:45 +02:00
Expose better broadcast details to the view
Starting from the sender name but we can add more things. This is up to the design expectation
This commit is contained in:
+4
-2
@@ -28,12 +28,14 @@ struct VoiceBroadcastPlaybackView: View {
|
||||
@ObservedObject var viewModel: VoiceBroadcastPlaybackViewModel.Context
|
||||
|
||||
var body: some View {
|
||||
let voiceBroadcast = viewModel.viewState.voiceBroadcast
|
||||
let details = viewModel.viewState.details
|
||||
|
||||
VStack(alignment: .leading, spacing: 16.0) {
|
||||
Text(VectorL10n.voiceBroadcastInTimelineTitle)
|
||||
Text(details.senderDisplayName ?? "")
|
||||
//Text(VectorL10n.voiceBroadcastInTimelineTitle)
|
||||
.font(theme.fonts.bodySB)
|
||||
.foregroundColor(theme.colors.primaryContent)
|
||||
|
||||
// Text(VectorL10n.voiceBroadcastInTimelineBody)
|
||||
// .font(theme.fonts.body)
|
||||
// .foregroundColor(theme.colors.primaryContent)
|
||||
|
||||
Reference in New Issue
Block a user