Add final copy for username deletion snackbar.

This commit is contained in:
Alex Hart
2023-02-16 12:34:47 -04:00
committed by Greyson Parrelli
parent 730065fc76
commit 65bc1263f3
2 changed files with 6 additions and 4 deletions

View File

@@ -330,12 +330,10 @@ public class ManageProfileFragment extends LoggingFragment {
private void handleUsernameDeletionResult(@NonNull UsernameEditRepository.UsernameDeleteResult usernameDeleteResult) {
switch (usernameDeleteResult) {
case SUCCESS:
// TODO [alex] - Final copy
Snackbar.make(requireView(), R.string.preferences_success, Snackbar.LENGTH_SHORT).show();
Snackbar.make(requireView(), R.string.ManageProfileFragment__username_deleted, Snackbar.LENGTH_SHORT).show();
break;
case NETWORK_ERROR:
// TODO [alex] - Final copy
Snackbar.make(requireView(), R.string.error, Snackbar.LENGTH_SHORT).show();
Snackbar.make(requireView(), R.string.ManageProfileFragment__couldnt_delete_username, Snackbar.LENGTH_SHORT).show();
break;
}
}