adding a crashfix at the pdf viewer
This commit is contained in:
parent
8d9957a1e7
commit
eed9a14c54
|
@ -89,7 +89,7 @@ class PDFViewerActivity : SimpleActivity() {
|
||||||
.spacing(15)
|
.spacing(15)
|
||||||
.onTap { toggleFullScreen() }
|
.onTap { toggleFullScreen() }
|
||||||
.onError {
|
.onError {
|
||||||
showErrorToast(it.localizedMessage.toString())
|
showErrorToast(it.localizedMessage?.toString() ?: getString(R.string.unknown_error_occurred))
|
||||||
finish()
|
finish()
|
||||||
}
|
}
|
||||||
.load()
|
.load()
|
||||||
|
|
Loading…
Reference in New Issue