Fix new server icon
This commit is contained in:
parent
06684cbaf6
commit
cabf63012f
|
@ -81,9 +81,11 @@ class NewServerView extends React.Component {
|
||||||
|
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
|
if (props.previousServer) {
|
||||||
props.navigation.setOptions({
|
props.navigation.setOptions({
|
||||||
headerLeft: () => <CloseModalButton navigation={props.navigation} onPress={this.close} testID='new-server-view-close' />
|
headerLeft: () => <CloseModalButton navigation={props.navigation} onPress={this.close} testID='new-server-view-close' />
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// Cancel
|
// Cancel
|
||||||
this.options = [I18n.t('Cancel')];
|
this.options = [I18n.t('Cancel')];
|
||||||
|
|
Loading…
Reference in New Issue