Skip to content

Commit 0d0c186

Browse files
committed
Revert moving the testIDs in Modal (detox 17 changed the usage)
1 parent 129e053 commit 0d0c186

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/modal/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,11 @@ class Modal extends Component<ModalProps> {
6060
<View
6161
useSafeArea={isScreenReaderEnabled}
6262
style={!isScreenReaderEnabled && [styles.touchableOverlay, {backgroundColor: overlayBackgroundColor}]}
63+
testID={testID}
6364
>
6465
{/*
6566
// @ts-ignore */}
66-
<TouchableWithoutFeedback {...accessibilityProps} onPress={onBackgroundPress} testID={testID}>
67+
<TouchableWithoutFeedback {...accessibilityProps} onPress={onBackgroundPress}>
6768
<View style={isScreenReaderEnabled ? styles.accessibleOverlayView : styles.overlayView}/>
6869
</TouchableWithoutFeedback>
6970
</View>

0 commit comments

Comments
 (0)