Skip to content

Commit

Permalink
Merge pull request #27719 from Expensify/jasper-fixNewChatPageKeyboar…
Browse files Browse the repository at this point in the history
…dShortcut

(cherry picked from commit e1c1fb3)
  • Loading branch information
thienlnam authored and OSBotify committed Sep 20, 2023
1 parent e204c0a commit adf2b09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/Navigation/AppNavigator/AuthScreens.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,10 @@ class AuthScreens extends React.Component {
chatShortcutConfig.shortcutKey,
() => {
Modal.close(() => {
if (Navigation.isActiveRoute(ROUTES.NEW_CHAT)) {
if (Navigation.isActiveRoute(ROUTES.NEW)) {
return;
}
Navigation.navigate(ROUTES.NEW_CHAT);
Navigation.navigate(ROUTES.NEW);
});
},
chatShortcutConfig.descriptionKey,
Expand Down

0 comments on commit adf2b09

Please sign in to comment.