mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-04-15 10:47:31 +02: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))
|
.scrollHandle(DefaultScrollHandle(this, primaryColor.getContrastColor(), primaryColor))
|
||||||
.spacing(15)
|
.spacing(15)
|
||||||
.onTap { toggleFullScreen() }
|
.onTap { toggleFullScreen() }
|
||||||
|
.onError {
|
||||||
|
showErrorToast(it.localizedMessage.toString())
|
||||||
|
finish()
|
||||||
|
}
|
||||||
.load()
|
.load()
|
||||||
|
|
||||||
showSystemUI(true)
|
showSystemUI(true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user