Skip to content

Commit 954fddc

Browse files
committed
Fix select one tag entry bug that caused crash with POIs.
1 parent 5a6e221 commit 954fddc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/redcross/openmapkit/tagswipe/SelectOneTagValueFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public void onClick(View v) {
175175
odkTag.putButtonIdToTagItemHash(id, item);
176176
tagValueRadioGroup.addView(textView);
177177
}
178-
if (!prevTagValInTagItems) {
178+
if (prevTagVal != null && !prevTagValInTagItems) {
179179
customEditText.setText(prevTagVal);
180180
}
181181

0 commit comments

Comments
 (0)