MaterialFiles
MaterialFiles copied to clipboard
[Bug]: Deleted folder remains accessible in path history, showing error when accessed
Describe the bug
After deleting a folder, the folder’s path still appears in the path history, and accessing it leads to an error. The folder should be removed from the path history once deleted.
To Reproduce
Steps to reproduce the behavior:
- Open the app and create a folder "a" in any path "R".
- Access the folder "a".
- Use the path history to navigate back to the path "R".
- Delete the folder "a".
- The folder "a" still appears in the path history, and accessing it will show an error.
Screen recording https://github.com/user-attachments/assets/6b0fb5d7-b4bd-4d52-aea0-caeec1b2f8a7
Expected behavior
Once a folder is deleted, its corresponding path should be removed from the path history to avoid errors when trying to access it.
Device Information:
- Device: generic_x86_64 (Android Studio x86 emulator)
- OS: Android 9
I look forward to your feedback and hope this can be addressed soon. Thank you for your attention to this matter!