Skip to content

Conversation

@wennyyustalim
Copy link

Is this what #19 is asking for?

(fixes start match button not working after you go back)
@MangoSwirl MangoSwirl linked an issue Jan 11, 2025 that may be closed by this pull request
alouch1234
alouch1234 previously approved these changes Jan 12, 2025
MangoSwirl
MangoSwirl previously approved these changes Jan 12, 2025
@alouch1234 alouch1234 dismissed stale reviews from MangoSwirl and themself via bb628cc January 13, 2025 20:43
@alouch1234 alouch1234 requested a review from MangoSwirl January 14, 2025 20:53
@MangoSwirl MangoSwirl changed the title Add back button for easier navigation on Android. Add back button on game screen pre-match Jan 14, 2025
{router.canGoBack() && (
<TouchableOpacity
onPress={() => {
reportState.reset();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't run on all methods the user could use to go back. There might be accessibility gestures or something, or at least on web (which I know we don't use) you can press the back button in the browser.

I'd recommend using a 'beforeRemove' event to handle all cases.

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.

Go back to homepage while scouting a match

4 participants