diff --git a/src/components/HeaderWithCloseButton.js b/src/components/HeaderWithCloseButton.js index 0238c2d6dc03..f47874411f24 100755 --- a/src/components/HeaderWithCloseButton.js +++ b/src/components/HeaderWithCloseButton.js @@ -165,37 +165,35 @@ class HeaderWithCloseButton extends Component { styles.overflowHidden, ]} > - - {this.props.shouldShowBackButton && ( - - { - if (this.props.isKeyboardShown) { - Keyboard.dismiss(); - } - this.props.onBackButtonPress(); - }} - style={[styles.touchableButtonImage]} - > - - - - )} - {this.props.shouldShowAvatarWithDisplay && ( - - )} - + {this.props.shouldShowBackButton && ( + + { + if (this.props.isKeyboardShown) { + Keyboard.dismiss(); + } + this.props.onBackButtonPress(); + }} + style={[styles.touchableButtonImage]} + > + + + + )} + {this.props.shouldShowAvatarWithDisplay && ( + + )} {!this.props.shouldShowAvatarWithDisplay && (
)} - + { this.props.shouldShowDownloadButton && (