Skip to content

Commit

Permalink
Do not invoke reveal animation when editing a group.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-signal committed Aug 26, 2022
1 parent 51647a5 commit 5f6b073
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ private void startAvatarSelection() {
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 {
Expand Down

0 comments on commit 5f6b073

Please sign in to comment.