better wrap handling for long texr
This commit is contained in:
@@ -420,15 +420,10 @@ struct LoadsView: View {
|
||||
size: 44)
|
||||
|
||||
VStack(alignment: .leading, spacing: 6) {
|
||||
HStack {
|
||||
Text(load.name)
|
||||
.fontWeight(.medium)
|
||||
Spacer()
|
||||
Text(load.timestamp, format: .dateTime.month().day().hour().minute())
|
||||
.foregroundColor(.secondary)
|
||||
.font(.caption)
|
||||
}
|
||||
|
||||
Text(load.name)
|
||||
.fontWeight(.medium)
|
||||
.lineLimit(1)
|
||||
.truncationMode(.tail)
|
||||
|
||||
// Secondary info
|
||||
HStack {
|
||||
|
||||
Reference in New Issue
Block a user