Why did I put it there

This commit is contained in:
Grishka 2024-03-06 15:24:27 +03:00
parent 714aa7a20b
commit bd189ae322
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,6 @@ public class ProfileQrCodeFragment extends AppKitFragment{
@Override @Override
public void dismiss(){ public void dismiss(){
content.setOnTouchListener(null);
dismissWithAnimation(super::dismiss, true); dismissWithAnimation(super::dismiss, true);
} }
@ -342,6 +341,7 @@ public class ProfileQrCodeFragment extends AppKitFragment{
if(dismissing) if(dismissing)
return; return;
dismissing=true; dismissing=true;
content.setOnTouchListener(null);
if(currentTransition!=null) if(currentTransition!=null)
currentTransition.cancel(); currentTransition.cancel();
AnimatorSet set=new AnimatorSet(); AnimatorSet set=new AnimatorSet();