Tab Bar Load Animation
Nucleic-Session: EEC60FAE-8368-49CA-9202-7026C12E7F8C Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -110,11 +110,9 @@ struct HomeView: View {
|
|||||||
.onChange(of: focusNewChat.wrappedValue) { _, want in
|
.onChange(of: focusNewChat.wrappedValue) { _, want in
|
||||||
if want { showNewChat = true; focusNewChat.wrappedValue = false }
|
if want { showNewChat = true; focusNewChat.wrappedValue = false }
|
||||||
}
|
}
|
||||||
.safeAreaInset(edge: .bottom) { ConnectionChip().padding(.bottom, 8) }
|
// The floating "+" opens the glass composer (iPad ⌘N via focusNewChat opens the same).
|
||||||
// A floating "+" replaces the old inline start-chat card; opens the glass composer
|
// Only at regular width — the compact shell carries one shared "+" beside its tab bar.
|
||||||
// sheet. An iPad ⌘N (via focusNewChat) opens the same sheet. Applied after the chip
|
.newChatAffordance(isPresented: $showNewChat, enabled: sizeClass == .regular)
|
||||||
// inset so it anchors to the true bottom — matching the project page's tight spacing.
|
|
||||||
.newChatAffordance(isPresented: $showNewChat)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user