fix: fix crash on profile when saving a note fails

This fixes a crash on calckey, where notes dont exist
This commit is contained in:
LucasGGamerM 2023-05-16 11:24:37 -03:00 committed by GitHub
parent 22209efc37
commit 558c5fba56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
@Override
public void onError(ErrorResponse result) {
Toast.makeText(getActivity(), getString(R.string.mo_personal_note_update_failed), Toast.LENGTH_LONG).show();
error.showToast(getActivity());
}
}).exec(accountID);
}