forked from organicmaps/organicmaps-tmp
#4465 Updated textfield error messages style
changed error messages display style according to the mentioned issue Signed-off-by: Satvik Kushwaha <59243339+satvik2131@users.noreply.github.com>
This commit is contained in:
parent
352ac9bda1
commit
985d6e0566
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ public class EditTextDialogFragment extends BaseMwmDialogFragment
|
|||
{
|
||||
Option<String> maybeError = mInputValidator.validate(activity, input);
|
||||
mPositiveButton.setEnabled(!maybeError.hasValue());
|
||||
mEtInputLayout.setError(maybeError.getOrElse(null));
|
||||
mEtInputLayout.getEditText().setError(maybeError.getOrElse(null));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue