Fix new posts button dismiss gesture

This commit is contained in:
Grishka 2024-10-26 06:47:43 +03:00
parent ad04433944
commit 2092a6b8fe
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ public class NewPostsButtonContainer extends FrameLayout{
@Override
public boolean onInterceptTouchEvent(MotionEvent ev){
getParent().requestDisallowInterceptTouchEvent(true);
if(gestureDetector.onTouchEvent(ev))
return true;
return super.onInterceptTouchEvent(ev);