nvrsion: Add: Remove $ cost display from the end of turns in the iOS remote.

Nucleic-Promote: 1
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-05 23:53:27 -07:00
co-authored by Nucleic
parent 8f1e117f6d
commit f1a8f3c8f3
@@ -163,16 +163,13 @@ struct InfoLine: View {
} }
} }
/// Per-turn token accounting + cost — the signal the desktop shows and the old remote dropped. /// Per-turn token accounting — the signal the desktop shows and the old remote dropped.
struct UsageRow: View { struct UsageRow: View {
let usage: Usage let usage: Usage
var body: some View { var body: some View {
HStack(spacing: 10) { HStack(spacing: 10) {
if let input = usage.inputTokens { metric("arrow.down", tokens(input)) } if let input = usage.inputTokens { metric("arrow.down", tokens(input)) }
if let output = usage.outputTokens { metric("arrow.up", tokens(output)) } if let output = usage.outputTokens { metric("arrow.up", tokens(output)) }
if let cost = usage.costUSD, cost > 0 {
Text(String(format: "$%.4f", cost)).foregroundStyle(.secondary)
}
Spacer(minLength: 0) Spacer(minLength: 0)
} }
.font(.caption2.monospacedDigit()).foregroundStyle(.secondary) .font(.caption2.monospacedDigit()).foregroundStyle(.secondary)