mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
show errors thrown at PDF viewer
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user