Live Activity Height Adjustment

Nucleic-Session: 89404784-EBA1-4E59-BE81-0698CA20F06A
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-05 04:16:11 -07:00
co-authored by Nucleic
parent 9c07a975d5
commit 7d71601b40
@@ -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