mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
adding a crashfix at the pdf viewer
This commit is contained in:
@ -89,7 +89,7 @@ class PDFViewerActivity : SimpleActivity() {
|
||||
.spacing(15)
|
||||
.onTap { toggleFullScreen() }
|
||||
.onError {
|
||||
showErrorToast(it.localizedMessage.toString())
|
||||
showErrorToast(it.localizedMessage?.toString() ?: getString(R.string.unknown_error_occurred))
|
||||
finish()
|
||||
}
|
||||
.load()
|
||||
|
Reference in New Issue
Block a user