mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Add extra error state to EditUsernameModalBody
This commit is contained in:
@@ -208,6 +208,9 @@ export function EditUsernameModalBody({
|
||||
'icu:ProfileEditor--username--check-discriminator-leading-zero'
|
||||
);
|
||||
}
|
||||
if (error === UsernameReservationError.TooManyAttempts) {
|
||||
return i18n('icu:ProfileEditor--username--too-many-attempts');
|
||||
}
|
||||
// Displayed through confirmation modal below
|
||||
if (
|
||||
error === UsernameReservationError.General ||
|
||||
|
||||
Reference in New Issue
Block a user