Tab Bar Load Animation

Nucleic-Session: EEC60FAE-8368-49CA-9202-7026C12E7F8C
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-05 18:47:58 -07:00
co-authored by Nucleic
parent f72f4297e1
commit 7360ff0fd7
@@ -142,8 +142,13 @@ struct NewChatAffordance: ViewModifier {
@EnvironmentObject var store: RemoteStore
/// Scopes the composer to one project (project page); nil offers the picker (Home, Sessions).
var project: WireProject? = nil
/// Owned by the caller so it can also open the composer programmatically (iPad ⌘N on Home).
/// Owned by the caller so it can also open the composer programmatically (iPad ⌘N on Home,
/// the compact shell's shared tab-bar "+").
@Binding var isPresented: Bool
/// Whether to draw the floating "+" disc. The compact shell hosts its own "+" beside the tab
/// bar and only wants the composer presentation, so it passes `false`; per-page callers (iPad)
/// keep their own disc.
var showsButton: Bool = true
/// Prompt text and its focus live here so the scrim tap and auto-focus can coordinate with the
/// composer (whether it's empty, whether the keyboard is up).
@State private var draft = ""