Skip to content

Commit 39dbc87

Browse files
committed
enabled reanimated in this two specific modals and fixed styles
1 parent 0b45413 commit 39dbc87

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/MoneyReportHeader.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,6 +1310,7 @@ function MoneyReportHeader({
13101310
isVisible={isPDFModalVisible}
13111311
type={isSmallScreenWidth ? CONST.MODAL.MODAL_TYPE.BOTTOM_DOCKED : CONST.MODAL.MODAL_TYPE.CONFIRM}
13121312
innerContainerStyle={styles.pv0}
1313+
shouldUseReanimatedModal
13131314
>
13141315
<View style={[styles.m5]}>
13151316
<View>

src/components/RequireTwoFactorAuthenticationModal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ function RequireTwoFactorAuthenticationModal({onCancel = () => {}, description,
4444
type={shouldUseNarrowLayout ? CONST.MODAL.MODAL_TYPE.BOTTOM_DOCKED : CONST.MODAL.MODAL_TYPE.CONFIRM}
4545
innerContainerStyle={{...styles.pb5, ...styles.pt0, ...styles.boxShadowNone}}
4646
shouldEnableNewFocusManagement={shouldEnableNewFocusManagement}
47+
shouldUseReanimatedModal
4748
>
4849
<View>
4950
<View style={[styles.cardSectionIllustration, styles.alignItemsCenter, StyleUtils.getBackgroundColorStyle(LottieAnimations.Safe.backgroundColor)]}>

0 commit comments

Comments
 (0)