mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-02-16 20:00:36 +01:00
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…
x
Reference in New Issue
Block a user