diff --git a/src/pages/settings/Security/TwoFactorAuth/IsEnabledPage.js b/src/pages/settings/Security/TwoFactorAuth/IsEnabledPage.js
index 8cd44185a6e1..1dc0b8017095 100644
--- a/src/pages/settings/Security/TwoFactorAuth/IsEnabledPage.js
+++ b/src/pages/settings/Security/TwoFactorAuth/IsEnabledPage.js
@@ -1,5 +1,5 @@
import React, {useState} from 'react';
-import {Text, View} from 'react-native';
+import {Text, View, ScrollView} from 'react-native';
import HeaderWithBackButton from '../../../../components/HeaderWithBackButton';
import Navigation from '../../../../libs/Navigation/Navigation';
import ScreenWrapper from '../../../../components/ScreenWrapper';
@@ -23,41 +23,43 @@ function IsEnabledPage(props) {
title={props.translate('twoFactorAuth.headerTitle')}
onBackButtonPress={() => Navigation.goBack(ROUTES.SETTINGS_SECURITY)}
/>
- {
- setIsConfirmModalVisible(true);
+
+ {
+ setIsConfirmModalVisible(true);
+ },
+ icon: Expensicons.Close,
+ iconFill: themeColors.danger,
+ wrapperStyle: [styles.cardMenuItem],
},
- icon: Expensicons.Close,
- iconFill: themeColors.danger,
- wrapperStyle: [styles.cardMenuItem],
- },
- ]}
- containerStyles={[styles.twoFactorAuthSection]}
- >
-
- {props.translate('twoFactorAuth.whatIsTwoFactorAuth')}
-
-
- {
- setIsConfirmModalVisible(false);
- Navigation.navigate(ROUTES.SETTINGS_2FA_DISABLE);
- }}
- onCancel={() => setIsConfirmModalVisible(false)}
- onModalHide={() => setIsConfirmModalVisible(false)}
- isVisible={isConfirmModalVisible}
- prompt={props.translate('twoFactorAuth.disableTwoFactorAuthConfirmation')}
- confirmText={props.translate('twoFactorAuth.disable')}
- cancelText={props.translate('common.cancel')}
- shouldShowCancelButton
- danger
- />
+ ]}
+ containerStyles={[styles.twoFactorAuthSection]}
+ >
+
+ {props.translate('twoFactorAuth.whatIsTwoFactorAuth')}
+
+
+ {
+ setIsConfirmModalVisible(false);
+ Navigation.navigate(ROUTES.SETTINGS_2FA_DISABLE);
+ }}
+ onCancel={() => setIsConfirmModalVisible(false)}
+ onModalHide={() => setIsConfirmModalVisible(false)}
+ isVisible={isConfirmModalVisible}
+ prompt={props.translate('twoFactorAuth.disableTwoFactorAuthConfirmation')}
+ confirmText={props.translate('twoFactorAuth.disable')}
+ cancelText={props.translate('common.cancel')}
+ shouldShowCancelButton
+ danger
+ />
+
);
}