Back out "iOS: 6/7 JS only. Remove logic for visible prop in JS, and pass it to native"

Summary:
Changelog: [Internal]

back out D28138741 (https://github.com/facebook/react-native/commit/40706e0546a5dccb5ef0944023dea2c32d8b46b3)

Differential Revision: D28709374

fbshipit-source-id: c7085588ab4573c0ca18a2324f8e1ed40384753c
This commit is contained in:
Evgen Filatov
2021-05-26 10:35:10 -07:00
committed by Facebook GitHub Bot
parent 0ee8e292a4
commit 34b8d07bfb
+1 -1
View File
@@ -219,7 +219,7 @@ class Modal extends React.Component<Props> {
}
render(): React.Node {
if (Platform.OS !== 'ios' && this.props.visible !== true) {
if (this.props.visible !== true) {
return null;
}