This commit is contained in:
2025-07-15 19:08:28 -04:00
parent 48bbbbf692
commit 2d0e327334
7 changed files with 20 additions and 23 deletions

View File

@ -22,10 +22,14 @@ struct ListItem: View {
if let title = title {
Text("\(title)")
.font(.headline)
} else if let text = text {
Text("\(text)")
if let text = text {
Text("\(text)")
.font(.footnote)
}
} else {
Text("Untitled")
if let text = text {
Text("\(text)")
}
}
HStack (alignment: .bottom) {
if let badges = badges {
@ -46,7 +50,6 @@ struct ListItem: View {
.foregroundColor(.gray)
}
}
.frame(height: 40)
.frame(maxWidth: .infinity, alignment: .leading)
.contentShape(Rectangle())
}