From 1e355a2a71745097ab93fa031493ba4cf8b00bf4 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sun, 5 Jul 2026 17:44:18 -0700 Subject: [PATCH] Bottom Tab Bar Visibility Adjustment Nucleic-Session: 747527BF-AEE9-4939-BE70-A14F1F3BBBA8 Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Views/HomeView.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Views/HomeView.swift b/NucleicRemote/NucleicRemote/Views/HomeView.swift index 34ad0ef..b9b4487 100644 --- a/NucleicRemote/NucleicRemote/Views/HomeView.swift +++ b/NucleicRemote/NucleicRemote/Views/HomeView.swift @@ -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) } } }