Tab Bar Load Animation
Nucleic-Session: EEC60FAE-8368-49CA-9202-7026C12E7F8C Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -142,8 +142,13 @@ struct NewChatAffordance: ViewModifier {
|
|||||||
@EnvironmentObject var store: RemoteStore
|
@EnvironmentObject var store: RemoteStore
|
||||||
/// Scopes the composer to one project (project page); nil offers the picker (Home, Sessions).
|
/// Scopes the composer to one project (project page); nil offers the picker (Home, Sessions).
|
||||||
var project: WireProject? = nil
|
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
|
@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
|
/// 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).
|
/// composer (whether it's empty, whether the keyboard is up).
|
||||||
@State private var draft = ""
|
@State private var draft = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user