diff --git a/NucleicRemote/NucleicRemote/Views/SessionsView.swift b/NucleicRemote/NucleicRemote/Views/SessionsView.swift index d6c9449..f7dbe04 100644 --- a/NucleicRemote/NucleicRemote/Views/SessionsView.swift +++ b/NucleicRemote/NucleicRemote/Views/SessionsView.swift @@ -85,11 +85,12 @@ struct SessionsView: View { } } } + .safeAreaInset(edge: .bottom) { ConnectionChip().padding(.bottom, 8) } // A floating "new chat" affordance in the lower-right, mirroring the Mac's per-project // "New chat" button. Picks a project + prompt in a glass sheet, then kicks off the chat. - // Applied before the chip inset so it floats clear above the connection chip. + // Applied after the chip inset so it anchors to the true bottom — the same low spacing + // above the tab bar the project page has, rather than floating high above the chip. .newChatAffordance(isPresented: $showNewChat) - .safeAreaInset(edge: .bottom) { ConnectionChip().padding(.bottom, 8) } } }