Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix back handler on settings screen #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

erdemklync
Copy link

Hi fellow developer,

I've been enjoying using the app, especially as an amateur violin player—it's really useful! I couldn't resist the urge to contribute and improve the user experience. I noticed a behavior on the settings screen: when we tap the back button, it exits the app. This is the default behavior since the settings screen is technically the front layer of a BackdropScaffold, not a separate screen. To address this, I've implemented a BackHandler to ensure that tapping the back button or performing the back gesture on the settings screen will now properly hide the front layer.

Cheers,
Before:
https://github.com/adrielcafe/chroma/assets/9391366/e614151e-924e-4c77-9bb3-3b96453175a6

After:
https://github.com/adrielcafe/chroma/assets/9391366/46b9b148-83ad-49b6-a9cc-3fd0db4afc3e

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.

None yet

1 participant