Allow creating nested directories

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya
2020-07-26 17:08:42 +05:30
parent 0cc3aac910
commit 9f8f9d588c
2 changed files with 2 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file.
### Fixed
- Properly handle cases where files contain only TOTP secrets and no password
- Allow creating nested directories directly
## [1.10.1] - 2020-07-23

View File

@@ -37,7 +37,7 @@ class FolderCreationDialogFragment : DialogFragment() {
val materialTextView = dialog.findViewById<TextInputEditText>(R.id.folder_name_text)
val folderName = materialTextView.text.toString()
val newFolder = File("$currentDir/$folderName")
newFolder.mkdir()
newFolder.mkdirs()
(requireActivity() as PasswordStore).refreshPasswordList(newFolder)
dismiss()
}