Skip to content

Commit

Permalink
Merge pull request #57841 from daledah/fix/57437
Browse files Browse the repository at this point in the history
fix: broken UI on 2FA Confirmation page
  • Loading branch information
robertjchen authored Mar 10, 2025
2 parents f2a5de7 + 4c4a4bc commit 20ba5b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/settings/Security/TwoFactorAuth/SuccessPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import ConfirmationPage from '@components/ConfirmationPage';
import LottieAnimations from '@components/LottieAnimations';
import useEnvironment from '@hooks/useEnvironment';
import useLocalize from '@hooks/useLocalize';
import useThemeStyles from '@hooks/useThemeStyles';
import type {PlatformStackScreenProps} from '@libs/Navigation/PlatformStackNavigation/types';
import type {TwoFactorAuthNavigatorParamList} from '@libs/Navigation/types';
import {openLink} from '@userActions/Link';
Expand All @@ -17,6 +18,7 @@ type SuccessPageProps = PlatformStackScreenProps<TwoFactorAuthNavigatorParamList
function SuccessPage({route}: SuccessPageProps) {
const {translate} = useLocalize();
const {environmentURL} = useEnvironment();
const styles = useThemeStyles();

return (
<TwoFactorAuthWrapper
Expand All @@ -40,6 +42,7 @@ function SuccessPage({route}: SuccessPageProps) {
openLink(route.params.forwardTo, environmentURL);
}
}}
containerStyle={styles.flex1}
/>
</TwoFactorAuthWrapper>
);
Expand Down

0 comments on commit 20ba5b0

Please sign in to comment.