Skip to content

Commit

Permalink
change the comment and style change
Browse files Browse the repository at this point in the history
  • Loading branch information
Tushu17 committed Jun 4, 2022
1 parent 2efde78 commit 142406a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Modal/BaseModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const propTypes = {
/** The ref to the modal container */
forwardedRef: PropTypes.func,

/** Whether we should make status bar transclucent */
/** Whether the modal should go under the system statusbar */
statusBarTranslucent: PropTypes.bool,
};

Expand Down Expand Up @@ -81,7 +81,6 @@ class BaseModal extends PureComponent {
);
return (
<ReactNativeModal
statusBarTranslucent={this.props.statusBarTranslucent}
onBackdropPress={(e) => {
if (e && e.type === 'keydown' && e.key === 'Enter') {
return;
Expand Down Expand Up @@ -117,6 +116,7 @@ class BaseModal extends PureComponent {
hideModalContentWhileAnimating={this.props.hideModalContentWhileAnimating}
animationInTiming={this.props.animationInTiming}
animationOutTiming={this.props.animationOutTiming}
statusBarTranslucent={this.props.statusBarTranslucent}
>
<SafeAreaInsetsContext.Consumer>
{(insets) => {
Expand Down

0 comments on commit 142406a

Please sign in to comment.