mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 22:35:17 +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
|
### Fixed
|
||||||
|
|
||||||
- Properly handle cases where files contain only TOTP secrets and no password
|
- Properly handle cases where files contain only TOTP secrets and no password
|
||||||
|
- Allow creating nested directories directly
|
||||||
|
|
||||||
## [1.10.1] - 2020-07-23
|
## [1.10.1] - 2020-07-23
|
||||||
|
|
||||||
|
@@ -37,7 +37,7 @@ class FolderCreationDialogFragment : DialogFragment() {
|
|||||||
val materialTextView = dialog.findViewById<TextInputEditText>(R.id.folder_name_text)
|
val materialTextView = dialog.findViewById<TextInputEditText>(R.id.folder_name_text)
|
||||||
val folderName = materialTextView.text.toString()
|
val folderName = materialTextView.text.toString()
|
||||||
val newFolder = File("$currentDir/$folderName")
|
val newFolder = File("$currentDir/$folderName")
|
||||||
newFolder.mkdir()
|
newFolder.mkdirs()
|
||||||
(requireActivity() as PasswordStore).refreshPasswordList(newFolder)
|
(requireActivity() as PasswordStore).refreshPasswordList(newFolder)
|
||||||
dismiss()
|
dismiss()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user