New-Chat Composer Default

Nucleic-Session: 7CB257B0-1B05-4EAF-B4FA-7BBFF1F8915D
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-06 00:40:36 -07:00
co-authored by Nucleic
parent b11c5e79ac
commit 5124205b70
@@ -46,12 +46,15 @@ struct StartChatComposer: View {
HStack {
if lockedProject == nil {
Menu {
Button("No project") { projectID = nil }
if !projects.isEmpty { Divider() }
ForEach(projects) { project in
Button(project.name) { projectID = project.id }
}
} label: {
// The model also selects the backend, so the picker offers every project.
Label(selected?.name ?? "Select a project", systemImage: "folder")
// Defaults to "No project" until one is chosen.
Label(selected?.name ?? "No project", systemImage: "folder")
.font(.subheadline)
}
} else {