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

Es/fix back map details #1082

Merged
merged 1 commit into from
Feb 21, 2023
Merged

Es/fix back map details #1082

merged 1 commit into from
Feb 21, 2023

Conversation

ErikSin
Copy link
Contributor

@ErikSin ErikSin commented Feb 15, 2023

Fixes back button in map details

@ErikSin ErikSin force-pushed the Es/fix-back-map-details branch from 23c9ac0 to f741385 Compare February 21, 2023 11:53
@@ -95,7 +98,7 @@ const useSnapPointsCalculator = () => {

interface Props extends React.PropsWithChildren<{}> {
onDismiss: () => void;
onHardwareBackPress?: () => void;
onHardwareBackPress?: () => void | boolean;
Copy link
Member

@achou11 achou11 Feb 21, 2023

Choose a reason for hiding this comment

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

think this would need to be adjusted to this:

Suggested change
onHardwareBackPress?: () => void | boolean;
onHardwareBackPress?: (() => void) | boolean;

generally would avoid making this a union of a boolean though and use a separate argument, as done in #1083

@ErikSin ErikSin merged commit eb69799 into develop Feb 21, 2023
@ErikSin ErikSin deleted the Es/fix-back-map-details branch February 21, 2023 14:56
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.

2 participants