diff --git a/NucleicRemote/NucleicRemote/Views/HomeView.swift b/NucleicRemote/NucleicRemote/Views/HomeView.swift index b9b4487..3d8444b 100644 --- a/NucleicRemote/NucleicRemote/Views/HomeView.swift +++ b/NucleicRemote/NucleicRemote/Views/HomeView.swift @@ -106,13 +106,14 @@ 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) } + // A floating "+" replaces the old inline start-chat card; opens the glass composer + // sheet. An iPad ⌘N (via focusNewChat) opens the same sheet. Applied after the chip + // inset so it anchors to the true bottom — matching the project page's tight spacing. + .newChatAffordance(isPresented: $showNewChat) } }