Skip to content

Commit

Permalink
Fixed LocationPicker null Closes #34
Browse files Browse the repository at this point in the history
  • Loading branch information
thunsaker committed Oct 9, 2015
1 parent 644f6db commit e78dd17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mobile/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ android {
applicationId "com.thunsaker.rapido"
minSdkVersion 14
targetSdkVersion 23
versionCode 20
versionName "2.0"
versionCode 2010
versionName "2.0.1"
resConfigs "en", "es"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,14 +228,14 @@ public boolean onOptionsItemSelected(MenuItem item) {

if(id == R.id.action_close) {
setResult(Activity.RESULT_CANCELED);
foursquareServiceSubscription.unsubscribe();
ShutItDown();
}
return super.onOptionsItemSelected(item);
}

private void ShutItDown() {
foursquareServiceSubscription.unsubscribe();
if(foursquareServiceSubscription != null)
foursquareServiceSubscription.unsubscribe();
finish();
}

Expand Down

0 comments on commit e78dd17

Please sign in to comment.