tweaks for the RC

This commit is contained in:
Mauro Romito
2024-09-09 17:19:12 +02:00
committed by Mauro
parent d88440dda4
commit 1a3378f6d3
9 changed files with 29 additions and 20 deletions
@@ -63,10 +63,13 @@ struct PinnedItemsBannerView: View {
private var content: some View {
VStack(alignment: .leading, spacing: 0) {
Text(state.bannerIndicatorDescription)
.font(.compound.bodySM)
.foregroundColor(.compound.textActionAccent)
.lineLimit(1)
// Only the display the indicator description for more than 1 pinned item
if state.count > 1 {
Text(state.bannerIndicatorDescription)
.font(.compound.bodySM)
.foregroundColor(.compound.textActionAccent)
.lineLimit(1)
}
Text(state.displayedMessage)
.font(.compound.bodyMD)
.foregroundColor(.compound.textPrimary)