Prevent cases of both drawer and page change occurring on diagonal fling

This commit is contained in:
Ensar Sarajčić 2023-07-20 18:00:52 +02:00
parent 90ac44d54b
commit f8cd74912c
1 changed files with 2 additions and 0 deletions

View File

@ -712,10 +712,12 @@ class MainActivity : SimpleActivity(), FlingListener {
}
override fun onFlingRight() {
mIgnoreUpEvent = true
home_screen_grid.prevPage(redraw = true)
}
override fun onFlingLeft() {
mIgnoreUpEvent = true
home_screen_grid.nextPage(redraw = true)
}