diff --git a/src/pages/home/sidebar/AvatarWithOptionalStatus.js b/src/pages/home/sidebar/AvatarWithOptionalStatus.js index 80130d50555c..e1ff3982a0cc 100644 --- a/src/pages/home/sidebar/AvatarWithOptionalStatus.js +++ b/src/pages/home/sidebar/AvatarWithOptionalStatus.js @@ -29,13 +29,14 @@ function AvatarWithOptionalStatus({emojiStatus, isCreateMenuOpen}) { const styles = useThemeStyles(); const {translate} = useLocalize(); - const showSettingsPage = useCallback(() => { + const showStatusPage = useCallback(() => { if (isCreateMenuOpen) { // Prevent opening Settings page when click profile avatar quickly after clicking FAB icon return; } - Navigation.navigate(ROUTES.SETTINGS); + Navigation.setShouldPopAllStateOnUP(); + Navigation.navigate(ROUTES.SETTINGS_STATUS); }, [isCreateMenuOpen]); return ( @@ -44,15 +45,17 @@ function AvatarWithOptionalStatus({emojiStatus, isCreateMenuOpen}) { - - {emojiStatus} - + + + {emojiStatus} + + );