better wrap handling for long texr

This commit is contained in:
Stefan Lange-Hegermann
2025-09-17 23:29:51 +02:00
parent aff182a2e6
commit 49882437a2

View File

@@ -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 {