mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-22 02:36:55 +00:00
Add Username UI updates.
This commit is contained in:
committed by
Nicholas Tinsley
parent
7fbfc09a89
commit
cd79dbbb82
@@ -201,6 +201,10 @@ public class UsernameEditFragment extends LoggingFragment {
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
CharSequence error = usernameInputWrapper.getError();
|
||||
binding.usernameError.setVisibility(error != null ? View.VISIBLE : View.GONE);
|
||||
binding.usernameError.setText(usernameInputWrapper.getError());
|
||||
}
|
||||
|
||||
private void presentButtonState(@NonNull UsernameEditViewModel.ButtonState buttonState) {
|
||||
|
||||
Reference in New Issue
Block a user