mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-02-16 20:00:36 +01:00
show errors thrown at PDF viewer
This commit is contained in:
parent
5fb31eab57
commit
42e4cb8bbe
@ -88,6 +88,10 @@ class PDFViewerActivity : SimpleActivity() {
|
||||
.scrollHandle(DefaultScrollHandle(this, primaryColor.getContrastColor(), primaryColor))
|
||||
.spacing(15)
|
||||
.onTap { toggleFullScreen() }
|
||||
.onError {
|
||||
showErrorToast(it.localizedMessage.toString())
|
||||
finish()
|
||||
}
|
||||
.load()
|
||||
|
||||
showSystemUI(true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user