Disallow fling gesture when we are translating for on back.

fork-5.53.8
Alex Hart 2022-04-07 13:53:53 -03:00 zatwierdzone przez Cody Henthorne
rodzic 6354cb194c
commit e5953b25e1
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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()