Username recovery improvements

This commit is contained in:
Fedor Indutny 2024-02-06 10:35:59 -08:00 committed by GitHub
parent a70ae1060d
commit 533a1b32d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 423 additions and 99 deletions

View file

@ -150,6 +150,13 @@ function getToast(toastType: ToastType): AnyToast {
return { toastType: ToastType.UnsupportedMultiAttachment };
case ToastType.UnsupportedOS:
return { toastType: ToastType.UnsupportedOS };
case ToastType.UsernameRecovered:
return {
toastType: ToastType.UsernameRecovered,
parameters: {
username: 'maya.45',
},
};
case ToastType.UserAddedToGroup:
return {
toastType: ToastType.UserAddedToGroup,