Skip to content
Snippets Groups Projects
Commit f0e744b3 authored by Erkan Karabulut's avatar Erkan Karabulut
Browse files

fix service request host link null check

parent 42efdd85
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ def jscFlavor = 'org.webkit:android-jsc:+'
/**
* Whether to enable the Hermes VM.
*
* This should be set on project.ext.react and mirrored here. If it is not set
* This should be set on project.ext.reacts and mirrored here. If it is not set
* on project.ext.react, JavaScript will not be compiled to Hermes Bytecode
* and the benefits of using Hermes will therefore be sharply reduced.
*/
......@@ -132,7 +132,7 @@ android {
applicationId "com.tsmatchapp"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 4
versionCode 5
versionName "1.2"
multiDexEnabled true
}
......
......@@ -125,7 +125,7 @@ class Describe extends React.Component {
submit = async () => {
let requestList = [];
if (this.state.serviceRequestViaLink) {
if (!this.state.serviceRequestHost || !this.state.serviceRequestPort) {
if (this.state.serviceRequestHost == null || this.state.serviceRequestPort == null) {
ToastAndroid.showWithGravityAndOffset(this.props.messages.fillAllPlacesError, ToastAndroid.LONG, ToastAndroid.TOP, 0, 0)
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment