mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-27 17:49:16 +03:00
Avoid reader crash
This commit is contained in:
parent
cb8120d38f
commit
544387d1a0
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue