Disable Orchestra Feature

Nucleic-Session: 921760EC-9063-4C8B-807B-DF166B271459
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-06-27 15:47:25 -07:00
co-authored by Nucleic
parent 4329aae518
commit 59fb467cfa
@@ -269,6 +269,9 @@ struct EffortMenu: View {
return levels.contains(effort) ? effort : (levels.last ?? MobileEfforts.fallback)
}
/// Once Orchestra is latched on for an existing chat, the ordinary levels can't be chosen.
private var locked: Bool { lockWhenOrchestra && orchestraActive }
var body: some View {
Menu {
ForEach(levels, id: \.self) { level in
@@ -276,6 +279,7 @@ struct EffortMenu: View {
if effort == level { Label(display(level), systemImage: "checkmark") }
else { Text(display(level)) }
}
.disabled(locked)
}
Divider()
Button { effort = sentinel } label: {