Skip to content

fix(ios): make conversation back button work again - #315

Closed
DatScreamer wants to merge 2 commits into
0xSero:mainfrom
DatScreamer:fix/ios-conversation-back-button
Closed

DatScreamer wants to merge 2 commits into
0xSero:mainfrom
DatScreamer:fix/ios-conversation-back-button

Conversation

@DatScreamer

Copy link
Copy Markdown
Contributor

Fixes #313

The conversation back button introduced in cf82de5 ("ui: move conversation controls into composer") does nothing because it calls dismiss() on a path-driven NavigationStack (a no-op for programmatically-pushed routes), and its hit area is only the thin chevron glyph.

Changes:

  • Back the custom glass-overlay back button with popCurrentRoute(), which pops the path-driven navigation stack — matching how every other pop in this codebase works and how the Android side of cf82de5 pops its nav stack.
  • Add .contentShape(Circle()) so the entire 40x40 glass circle is tappable, matching SavedAppDetailView.

Verification:

  • Built with make ios (signed package lane), installed on iPhone 17 Pro simulator.
  • Open a session → tap back → returns to dashboard every time.

Before cf82de5 the conversation used the native nav-bar back button (shipped in 2.0); this restores equivalent behavior while keeping the custom glass top-bar design.

@0xSero

0xSero commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Landed in #319 (merged as 0824605d). Thanks @DatScreamer. Closing in favour of the convergence PR.

@0xSero 0xSero closed this Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(ios): conversation back button does nothing after moving controls into composer

2 participants