diff --git a/src/components/SharedComponents/Buttons/BackButton.tsx b/src/components/SharedComponents/Buttons/BackButton.tsx index 93aaf1b8a..1d45dde77 100644 --- a/src/components/SharedComponents/Buttons/BackButton.tsx +++ b/src/components/SharedComponents/Buttons/BackButton.tsx @@ -51,6 +51,7 @@ const BackButton = ( { }: Props ) => { const { isRTL } = I18nManager; const navigation = useNavigation(); + const canGoBack = navigation?.canGoBack( ); const tintColor = color || colors.darkGray; const { t } = useTranslation( ); @@ -73,7 +74,7 @@ const BackButton = ( { /> ); - if ( navigation?.canGoBack( ) ) { + if ( onPress || canGoBack ) { return (