Merge nucleic/plucky-lunar-newt into dev

This commit is contained in:
2026-06-16 03:23:14 -07:00
parent e2f18efbd9
commit fe2f931a2e
2 changed files with 7 additions and 2 deletions
@@ -81,6 +81,9 @@ struct SessionsView: View {
struct SessionRow: View {
let summary: WireSessionSummary
/// Show the project name as subtext. Suppressed when the row already lives inside
/// its project's own section (e.g. `ProjectDetailView`), where the name is redundant.
var showProjectName = true
var body: some View {
HStack(spacing: 12) {
@@ -95,7 +98,9 @@ struct SessionRow: View {
}
Text(summary.title).font(.body.weight(.medium)).lineLimit(1)
}
Text(summary.projectName).font(.caption).foregroundStyle(.secondary)
if showProjectName {
Text(summary.projectName).font(.caption).foregroundStyle(.secondary)
}
}
Spacer()
VStack(alignment: .trailing, spacing: 2) {