mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 14:25:28 +00:00
Allow creating nested directories
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user