AmazeFileManager
AmazeFileManager copied to clipboard
Unreasonable 'File with the same name already exists' prompt appears when renaming a folder without changes
Describe the bug The prompt 'File with the same name already exists' appears when attempting to rename a folder without making any changes.
To Reproduce Steps to reproduce the behavior:
- Click on 'Three-dot‘ icon to edit a folder
- Click on the 'Rename' button
- Click on the 'SAVE' button without modifying the folder name
Expected behavior Recognize that no changes were made and avoid displaying the 'File with the same name already exists' prompt, or Disable the 'SAVE' button if the name remains unchanged.
Screen Recording
https://github.com/user-attachments/assets/33513487-83cd-4981-a2fd-a1b3702a7e62
Smartphone (please complete the following information):
- Device: [Google Pixel 5]
- OS: [Android 14]
- Rooted: [No]
- Version: [3.10]
Solution to this is adding a check on the popup similar to file creation ones:
And making the button disabled.