Do not invoke reveal animation when editing a group.

This commit is contained in:
Alex Hart 2022-08-26 10:28:25 -03:00
parent 51647a5017
commit 5f6b073cb6

View file

@ -291,7 +291,7 @@ public class EditProfileFragment extends LoggingFragment {
private void handleUpload() {
viewModel.getUploadResult().observe(getViewLifecycleOwner(), uploadResult -> {
if (uploadResult == EditProfileRepository.UploadResult.SUCCESS) {
if (Build.VERSION.SDK_INT >= 21) {
if (Build.VERSION.SDK_INT >= 21 && !viewModel.isGroup()) {
handleFinishedLollipop();
}
else {