(cherry picked from commit e6b14d6)
This commit is contained in:
PavelRatushny 2017-10-23 12:21:32 +03:00
parent 556dca60b0
commit 151d380444

View file

@ -268,9 +268,11 @@ public class EditPoiDialogFragment extends BaseOsmAndDialogFragment {
public void afterTextChanged(Editable s) {
if (!getEditPoiData().isInEdit()) {
getEditPoiData().updateTypeTag(s.toString());
if (!getMyApplication().isApplicationInitializing()) {
poiTypeTextInputLayout.setHint(editPoiData.getPoiCategory().getTranslation());
}
}
}
});
poiNameEditText.setOnEditorActionListener(mOnEditorActionListener);
poiTypeEditText.setOnEditorActionListener(mOnEditorActionListener);