diff --git a/NucleicRemote/NucleicRemote/Views/Transcript/ToolGroupRow.swift b/NucleicRemote/NucleicRemote/Views/Transcript/ToolGroupRow.swift index ae953e6..753b654 100644 --- a/NucleicRemote/NucleicRemote/Views/Transcript/ToolGroupRow.swift +++ b/NucleicRemote/NucleicRemote/Views/Transcript/ToolGroupRow.swift @@ -17,6 +17,15 @@ struct ToolCallCard: View { Button { expanded.toggle() } label: { header } .buttonStyle(.plain) .hoverEffect(.highlight) + // Folded lock-lifecycle lines read as part of the edit card (always visible, not gated + // by expand), so the lock brackets its edit rather than sorting after it — as on the Mac. + if !group.lockLines.isEmpty { + VStack(alignment: .leading, spacing: 2) { + ForEach(Array(group.lockLines.enumerated()), id: \.offset) { _, lock in + LockLineRow(lock: lock) + } + } + } if expanded { details } } if inGroup {