diff --git a/app/views/NewServerView.js b/app/views/NewServerView.js index 684badf85..28562495c 100644 --- a/app/views/NewServerView.js +++ b/app/views/NewServerView.js @@ -48,8 +48,10 @@ export default class NewServerView extends LoggedView { } submit = () => { - Keyboard.dismiss(); - this.props.addServer(this.completeUrl(this.state.text)); + if (this.props.validInstance) { + Keyboard.dismiss(); + this.props.addServer(this.completeUrl(this.state.text)); + } } completeUrl = (url) => {