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)
|
||||
.onTap { toggleFullScreen() }
|
||||
.onError {
|
||||
showErrorToast(it.localizedMessage.toString())
|
||||
showErrorToast(it.localizedMessage?.toString() ?: getString(R.string.unknown_error_occurred))
|
||||
finish()
|
||||
}
|
||||
.load()
|
||||
|
Loading…
x
Reference in New Issue
Block a user