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