kopia lustrzana https://github.com/ryukoposting/Signal-Android
Disallow fling gesture when we are translating for on back.
rodzic
6354cb194c
commit
e5953b25e1
|
@ -800,6 +800,10 @@ class StoryViewerPageFragment :
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (viewToTranslate.translationX != 0f || viewToTranslate.translationY != 0f) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
if (ViewUtil.isLtr(container)) {
|
if (ViewUtil.isLtr(container)) {
|
||||||
if (velocityX < 0) {
|
if (velocityX < 0) {
|
||||||
onReplyToPost()
|
onReplyToPost()
|
||||||
|
|
Ładowanie…
Reference in New Issue