Skip to content

Commit

Permalink
1.0.1
Browse files Browse the repository at this point in the history
Fix bugs
  • Loading branch information
cedced19 committed Jul 16, 2019
1 parent 474e275 commit 7a7b329
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ mobile/android/.gradle/
mobile/android/app/garage-doors-opener.keystore
mobile/android/app/gradle.properties
mobile/react-native-dialog-progress
mobile/android/app/out
4 changes: 2 additions & 2 deletions mobile/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ android {
applicationId "com.garagedoorsopener"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
versionCode 2
versionName "1.0.1"
ndk {
abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
}
Expand Down
4 changes: 3 additions & 1 deletion mobile/app/screens/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ function isUrl (url) {
function checkEmptyProperties (state) {
for (var k in state) {
if (state[k] == '') {
return k;
if (k != 'closed') {
return k;
}
}
}
return false;
Expand Down
2 changes: 1 addition & 1 deletion mobile/app/screens/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export default class MainScreen extends Component {
let parsed = JSON.parse(data);
if (parsed.length >= 1) {
this.setState({ noGarage: false, garages: parsed });
this._checkStatus(parsed);
this._checkAllStatus();
}
}
});
Expand Down

0 comments on commit 7a7b329

Please sign in to comment.