Fix new posts button dismiss gesture
This commit is contained in:
parent
ad04433944
commit
2092a6b8fe
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue