File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -110,15 +110,19 @@ class PDFViewerActivity : SimpleActivity() {
110110 .onTap { toggleFullScreen() }
111111 .onError {
112112 if (it is PdfPasswordException ) {
113- // Already entered a password and it was wrong
113+ // already entered a password and it was wrong
114114 if (filePassword != null ) {
115115 showErrorToast(getString(R .string.invalid_password))
116116 finish()
117117 } else {
118118 EnterPasswordDialog (
119119 this ,
120- callback = { password -> loadPdfViewer(uri, password) },
121- cancelCallback = { finish() }
120+ callback = { password ->
121+ loadPdfViewer(uri, password)
122+ },
123+ cancelCallback = {
124+ finish()
125+ }
122126 )
123127 }
124128 } else {
You can’t perform that action at this time.
0 commit comments