Sessions Integration Feature
Nucleic-Session: FC94353F-9F0D-4BCC-AD7C-0FB14E38C2E5 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -151,7 +151,13 @@ struct SessionRow: View {
|
|||||||
systemImage: "arrow.down.forward")
|
systemImage: "arrow.down.forward")
|
||||||
.font(.caption).foregroundStyle(.secondary).lineLimit(1)
|
.font(.caption).foregroundStyle(.secondary).lineLimit(1)
|
||||||
} else if showProjectName {
|
} else if showProjectName {
|
||||||
Text(summary.projectName).font(.caption).foregroundStyle(.secondary)
|
// With more than one Mac connected, tag the owning Mac so the merged list stays
|
||||||
|
// distinguishable (mesh P3); a single-Mac view just shows the project.
|
||||||
|
if store.connectedHostCount > 1, let host = store.hostName(forSession: summary.sessionID) {
|
||||||
|
Text("\(summary.projectName) · \(host)").font(.caption).foregroundStyle(.secondary)
|
||||||
|
} else {
|
||||||
|
Text(summary.projectName).font(.caption).foregroundStyle(.secondary)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|||||||
Reference in New Issue
Block a user