Disallow fling gesture when we are translating for on back.

This commit is contained in:
Alex Hart
2022-04-07 13:53:53 -03:00
committed by Cody Henthorne
parent 6354cb194c
commit e5953b25e1

View File

@@ -800,6 +800,10 @@ class StoryViewerPageFragment :
return false
}
if (viewToTranslate.translationX != 0f || viewToTranslate.translationY != 0f) {
return false
}
if (ViewUtil.isLtr(container)) {
if (velocityX < 0) {
onReplyToPost()