Skip to content

Commit

Permalink
Update FileDialog.kt to support pdf (only)
Browse files Browse the repository at this point in the history
to fix bug
kineapps#43
  • Loading branch information
Tristl authored May 30, 2023
1 parent 9dc7dd1 commit 5378f9e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ class FileDialog(
if (localOnly) {
intent.putExtra(Intent.EXTRA_LOCAL_ONLY, true)
}
applyMimeTypesFilterToIntent(mimeTypesFilter, intent)
// applyMimeTypesFilterToIntent(mimeTypesFilter, intent)
intent.type = "application/pdf"

activity.startActivityForResult(intent, REQUEST_CODE_SAVE_FILE)

Expand Down

0 comments on commit 5378f9e

Please sign in to comment.