fix(mac): render context bar as image

This commit is contained in:
Peter Steinberger
2025-12-13 00:19:29 +00:00
parent 9b9fa009d1
commit 3bb33bdeed
3 changed files with 63 additions and 15 deletions

View File

@@ -151,8 +151,10 @@ struct SessionsSettings: View {
.font(.caption.monospacedDigit())
.foregroundStyle(.secondary)
}
ContextUsageBar(usedTokens: row.tokens.total, contextTokens: row.tokens.contextTokens)
.frame(maxWidth: .infinity)
ContextUsageBar(
usedTokens: row.tokens.total,
contextTokens: row.tokens.contextTokens,
width: 260)
}
HStack(spacing: 10) {