#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:
Satvik Kushwaha 2023-02-22 23:00:49 +05:30 committed by Alexander Borsuk
parent 352ac9bda1
commit 985d6e0566

View file

@ -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));
}
}