fix: move customer between status and age in bug row
This commit is contained in:
parent
883d7cb608
commit
fe6dddecf9
|
|
@ -21,6 +21,11 @@ struct BugRow: View {
|
||||||
}
|
}
|
||||||
HStack(spacing: 8) {
|
HStack(spacing: 8) {
|
||||||
StatusPill(status: bug.status)
|
StatusPill(status: bug.status)
|
||||||
|
if let customer = bug.customer {
|
||||||
|
Text(customer)
|
||||||
|
.font(.caption2)
|
||||||
|
.foregroundStyle(.blue.opacity(0.8))
|
||||||
|
}
|
||||||
Text(ageString(bug.age))
|
Text(ageString(bug.age))
|
||||||
.font(.caption2)
|
.font(.caption2)
|
||||||
.foregroundStyle(.secondary)
|
.foregroundStyle(.secondary)
|
||||||
|
|
@ -29,11 +34,6 @@ struct BugRow: View {
|
||||||
.font(.caption2)
|
.font(.caption2)
|
||||||
.foregroundStyle(.secondary)
|
.foregroundStyle(.secondary)
|
||||||
}
|
}
|
||||||
if let customer = bug.customer {
|
|
||||||
Text(customer)
|
|
||||||
.font(.caption2)
|
|
||||||
.foregroundStyle(.blue.opacity(0.8))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue