Skip to content

Commit

Permalink
Merge pull request #7178 from vector-im/phlpro/voice_broadcast_live_b…
Browse files Browse the repository at this point in the history
…uttons_layout

VoiceBroadcast: Update live badge layout for recorder and player cells
  • Loading branch information
Phl-Pro authored Dec 19, 2022
2 parents 7428273 + 96fd716 commit 710b09e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,12 @@ struct VoiceBroadcastPlaybackView: 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("liveLabel")
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down
1 change: 1 addition & 0 deletions changelog.d/pr-7178.change
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Labs: VoiceBroadcast: Update live badge layout for recorder and player cells

0 comments on commit 710b09e

Please sign in to comment.