show the Show Hidden Items button at the file picker dialogs

This commit is contained in:
tibbi
2018-10-25 23:07:10 +02:00
parent 1d53171568
commit 0d6de330f9
3 changed files with 4 additions and 4 deletions

View File

@ -321,7 +321,7 @@ class MainActivity : SimpleActivity() {
}
private fun openFile() {
FilePickerDialog(this) {
FilePickerDialog(this, canAddShowHiddenButton = true) {
openFile(it, true) {
OpenFileDialog(this, it.path) {
addNewNote(it)
@ -384,7 +384,7 @@ class MainActivity : SimpleActivity() {
}
private fun openFolder() {
FilePickerDialog(this, pickFile = false) {
FilePickerDialog(this, pickFile = false, canAddShowHiddenButton = true) {
openFolder(it) {
ImportFolderDialog(this, it.path) {
mNotes = dbHelper.getNotes()