mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
show the Show Hidden Items button at the file picker dialogs
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user