Bottom Tab Bar Visibility Adjustment
Nucleic-Session: 747527BF-AEE9-4939-BE70-A14F1F3BBBA8 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -106,6 +106,12 @@ struct HomeView: View {
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.scrollDismissesKeyboard(.interactively)
|
||||
.refreshable { store.refreshSessions() }
|
||||
// A floating "+" replaces the old inline start-chat card; opens the glass composer
|
||||
// sheet. An iPad ⌘N (via focusNewChat) opens the same sheet.
|
||||
.newChatAffordance(isPresented: $showNewChat)
|
||||
.onChange(of: focusNewChat.wrappedValue) { _, want in
|
||||
if want { showNewChat = true; focusNewChat.wrappedValue = false }
|
||||
}
|
||||
.safeAreaInset(edge: .bottom) { ConnectionChip().padding(.bottom, 8) }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user