Skip to content

Commit

Permalink
v0.15 Multiple Tag Value Feature. Closes #103
Browse files Browse the repository at this point in the history
  • Loading branch information
hallahan committed Jan 6, 2016
1 parent 4a2237c commit 8dfc51a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "org.redcross.openmapkit"
minSdkVersion 16
targetSdkVersion 21
versionCode 14
versionName "0.14"
versionCode 15
versionName "0.15"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,9 @@ public ODKTag getODKTag() {
private void updateTagInOSMElement() {
// check boxes
if (odkTag != null && checkBoxMode) {
if (odkTag.hasCheckedTagValues()) {
if (editTextCheckBox.isChecked()) {
boolean editTextCheckBoxChecked = editTextCheckBox.isChecked();
if (odkTag.hasCheckedTagValues() || editTextCheckBoxChecked) {
if (editTextCheckBoxChecked) {
tagVal = odkTag.getSemiColonDelimitedTagValues(checkBoxEditText.getText().toString());
} else {
tagVal = odkTag.getSemiColonDelimitedTagValues(null);
Expand Down

0 comments on commit 8dfc51a

Please sign in to comment.