Card title limit to two lines instead of one

This commit is contained in:
Thomas Ricouard 2024-01-31 07:57:59 +01:00
parent b348f37f1a
commit 2a6afb4092
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ public struct StatusRowCardView: View {
VStack(alignment: .leading, spacing: 4) {
Text(title)
.font(.scaledHeadline)
.lineLimit(1)
.lineLimit(2)
if let description = card.description, !description.isEmpty {
Text(description)
.font(.scaledFootnote)