diff --git a/src/pages/signin/SignInPage.js b/src/pages/signin/SignInPage.js index 3e2d6c7082de..f122f28a5a25 100644 --- a/src/pages/signin/SignInPage.js +++ b/src/pages/signin/SignInPage.js @@ -133,7 +133,7 @@ function SignInPageInner({credentials, account, activeClients, preferredLocale}) const styles = useThemeStyles(); const StyleUtils = useStyleUtils(); const {translate, formatPhoneNumber} = useLocalize(); - const {shouldUseNarrowLayout} = useResponsiveLayout(); + const {shouldUseNarrowLayout, isInModal} = useResponsiveLayout(); const safeAreaInsets = useSafeAreaInsets(); const signInPageLayoutRef = useRef(); const loginFormRef = useRef(); @@ -251,7 +251,7 @@ function SignInPageInner({credentials, account, activeClients, preferredLocale}) // Bottom SafeAreaView is removed so that login screen svg displays correctly on mobile. // The SVG should flow under the Home Indicator on iOS.