Skip to content

Commit

Permalink
Back out "iOS: 6/7 JS only. Remove logic for visible prop in JS, and …
Browse files Browse the repository at this point in the history
…pass it to native"

Summary:
Changelog: [Internal]

back out D28138741 (40706e0)

Differential Revision: D28709374

fbshipit-source-id: c7085588ab4573c0ca18a2324f8e1ed40384753c
  • Loading branch information
Evgen Filatov authored and facebook-github-bot committed May 26, 2021
1 parent 0ee8e29 commit 34b8d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Modal/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 34b8d07

Please sign in to comment.