fix: move customer between status and age in bug row

This commit is contained in:
tigerenwork 2026-06-29 20:57:11 +08:00
parent 883d7cb608
commit fe6dddecf9
1 changed files with 5 additions and 5 deletions

View File

@ -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))
}
} }
} }