Fix error string
This commit is contained in:
parent
73f2196e88
commit
50d1ac4b72
2 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
|||
Thx - Hardy
|
||||
|
||||
-->
|
||||
<string name="please_provide_point_name_error">Please provide a name for the point</string>
|
||||
<string name="use_volume_buttons_as_zoom">Volume buttons as zoom</string>
|
||||
<string name="use_volume_buttons_as_zoom_descr">Enable to control the map zoom level with device volume buttons.</string>
|
||||
<string name="app_mode_inline_skates">Inline skates</string>
|
||||
|
|
|
@ -202,7 +202,7 @@ public abstract class PointEditorFragmentNew extends BaseOsmAndFragment {
|
|||
@Override
|
||||
public void afterTextChanged(Editable s) {
|
||||
if (s.toString().trim().isEmpty()) {
|
||||
nameCaption.setError(app.getString(R.string.please_provide_profile_name_message));
|
||||
nameCaption.setError(app.getString(R.string.please_provide_point_name_error));
|
||||
saveButton.setEnabled(false);
|
||||
} else {
|
||||
nameCaption.setError(null);
|
||||
|
|
Loading…
Reference in a new issue