Fix #4185
This commit is contained in:
parent
fb38f4cde1
commit
ad5186b391
1 changed files with 3 additions and 1 deletions
|
@ -76,11 +76,13 @@ public class SendPoiDialogFragment extends DialogFragment {
|
|||
break;
|
||||
}
|
||||
}
|
||||
messageEditText.setText(createDefaultChangeSet());
|
||||
String defaultChangeSet = createDefaultChangeSet();
|
||||
messageEditText.setText(defaultChangeSet);
|
||||
final boolean hasPOI = hasPoiGroup;
|
||||
messageLabel.setVisibility(hasPOI ? View.VISIBLE : View.GONE);
|
||||
messageEditText.setVisibility(hasPOI ? View.VISIBLE : View.GONE);
|
||||
closeChangeSetCheckBox.setVisibility(hasPOI ? View.VISIBLE : View.GONE);
|
||||
closeChangeSetCheckBox.setChecked(hasPOI && !defaultChangeSet.equals(""));
|
||||
view.findViewById(R.id.osm_note_header).setVisibility(hasPOI ? View.GONE : View.VISIBLE);
|
||||
uploadAnonymously.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue