mirror of
https://github.com/mastodon/mastodon-android.git
synced 2025-02-07 23:48:42 +01:00
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…
x
Reference in New Issue
Block a user