Skip to content

fix: allow back button to minimize app from FEED#467

Merged
barrydeen merged 1 commit intomainfrom
fix/back-minimizes-app
Apr 17, 2026
Merged

fix: allow back button to minimize app from FEED#467
barrydeen merged 1 commit intomainfrom
fix/back-minimizes-app

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Users have complained that pressing the system back button on the home screen does nothing. The BackHandler in Navigation.kt was consuming the press on FEED to keep the app open.
  • Disable the handler on FEED so Android's default behavior (minimize to background) runs. Non-FEED app routes still pop the back stack, falling back to FEED when empty.

Test plan

  • On FEED, press the system back button — app minimizes to background (task remains in recents)
  • From a non-FEED screen (e.g. PROFILE_EDIT, DM_CONVERSATION), back pops to the previous screen as before
  • From a deep-linked non-FEED screen with empty back stack, back navigates to FEED

Users expect pressing back from the home screen to minimize the app.
The BackHandler was swallowing the press on FEED; disable it there
so Android's default behavior handles it.
@barrydeen barrydeen merged commit 7849c04 into main Apr 17, 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.

1 participant