mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2025-09-06 04:51:38 +02:00
Allow creating nested directories
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
0cc3aac910
commit
9f8f9d588c
|
@ -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
|
||||
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue