Chat View Refinement
Nucleic-Session: 4E56990A-96AE-4597-9140-753CB82E769D Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -120,14 +120,16 @@ struct SessionDetailView: View {
|
||||
lockWhenOrchestra: true)
|
||||
Spacer(minLength: 4)
|
||||
if let percent = contextPercent {
|
||||
// Weight and primary ink (not `.secondary`) so the metric stays legible over
|
||||
// whatever the Liquid Glass bar is blurring through.
|
||||
Label("\(percent)%", systemImage: "gauge.with.dots.needle.33percent")
|
||||
.font(.caption2).foregroundStyle(.secondary)
|
||||
.font(.caption2.weight(.semibold)).foregroundStyle(.primary)
|
||||
.help("Context window used")
|
||||
}
|
||||
Toggle(isOn: Binding(get: { summary.auto }, set: { store.setSessionAuto(sessionID, $0) })) {
|
||||
Label("Auto", systemImage: summary.auto ? "bolt.fill" : "bolt.slash")
|
||||
}
|
||||
.toggleStyle(.button).tint(Palette.accent).font(.caption2)
|
||||
.toggleStyle(.button).tint(Palette.accent).font(.caption2.weight(.semibold))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user