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(routing): iOS swipe back on settings page #229

Merged
merged 2 commits into from
Feb 26, 2025

Conversation

fres-sudo
Copy link
Contributor

This PR address the issue of the routing system for the Settings Page.

Before this PR the Settings Page was not considered as a route, instead all the content of the page was replacing the content below, since the _notTransitionPageRoute() method was used to "push" the route.

After this commit to push the route the _cupertinoPageRoute() method is being used. With that edit the Settings Page is treated like a normal route, and so it's possible to swipe back and navigate correctly to the route.


Closes: #218

@theperu theperu requested a review from mikev-cw February 26, 2025 13:20
Before this commit it was impossibile to run the app on iOS, due to
outdated **Podfile**.

After this commit it's possible to run the app correctly on iOS devices.
Before this commit the Settings Page was not considered as a route,
instead all the content of the page was replacing the content below,
since the `_notTransitionPageRoute()` method was used to "push" the
route.

After this commit to push the route the `_cupertinoPageRoute()` method
is being used. With that edit the Settings Page is treated like a normal
route, and so it's possible to swipe back and navigate correctly to the
route.

Closes: RIP-Comm#218
@theperu theperu merged commit bf03068 into RIP-Comm:main Feb 26, 2025
1 check passed
@fres-sudo fres-sudo deleted the fix-swipe-back-ios branch February 26, 2025 21:22
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.

iOS: Swipe back action doesn’t work in settings
3 participants