mirror of
https://github.com/mihonapp/mihon.git
synced 2025-07-09 09:15:10 +02:00
Avoid reader crash
This commit is contained in:
@ -84,6 +84,8 @@ open class Pager(
|
||||
override fun onTouchEvent(ev: MotionEvent): Boolean {
|
||||
return try {
|
||||
super.onTouchEvent(ev)
|
||||
} catch (e: NullPointerException) {
|
||||
false
|
||||
} catch (e: IndexOutOfBoundsException) {
|
||||
false
|
||||
} catch (e: IllegalArgumentException) {
|
||||
|
Reference in New Issue
Block a user