mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-23 19:26:17 +00:00
Disallow fling gesture when we are translating for on back.
This commit is contained in:
committed by
Cody Henthorne
parent
6354cb194c
commit
e5953b25e1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user