From 7d71601b40ed48ef7f4d79758d141e5f451fc0e0 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sun, 5 Jul 2026 04:16:11 -0700 Subject: [PATCH] Live Activity Height Adjustment Nucleic-Session: 89404784-EBA1-4E59-BE81-0698CA20F06A Co-authored-by: Nucleic --- .../SessionLiveActivity.swift | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/NucleicRemote/NucleicRemoteWidgets/SessionLiveActivity.swift b/NucleicRemote/NucleicRemoteWidgets/SessionLiveActivity.swift index ab603b7..a58e4e3 100644 --- a/NucleicRemote/NucleicRemoteWidgets/SessionLiveActivity.swift +++ b/NucleicRemote/NucleicRemoteWidgets/SessionLiveActivity.swift @@ -173,28 +173,6 @@ private struct CountChips: View { } } -/// Aggregate worktree churn: "N files +A −R". -private struct ChurnLine: View { - let state: NucleicSessionAttributes.ContentState - - var body: some View { - HStack(spacing: 6) { - Image(systemName: "chevron.left.forwardslash.chevron.right") - .font(.caption2) - .foregroundStyle(.secondary) - Text("\(state.filesChanged) file\(state.filesChanged == 1 ? "" : "s") changed") - .foregroundStyle(.secondary) - Text("+\(state.linesAdded)") - .foregroundStyle(ActivityPalette.added) - Text("−\(state.linesRemoved)") - .foregroundStyle(ActivityPalette.removed) - } - .font(.caption2.weight(.medium)) - .monospacedDigit() - .lineLimit(1) - } -} - /// Dynamic Island expanded leading/trailing count badge. private struct CountBadge: View { let systemImage: String