-
Notifications
You must be signed in to change notification settings - Fork 468
Description
Is there an existing issue for this?
- I have searched the existing issues
Did you read the "Reporting a bug" section on Contributing file?
- I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug
Current Behavior
Using CommunityToolkit.Maui.Storage.FileSaver.SaveAsync() on iOS, when the file dialog is raised it shows 'Move' in the upper-right corner of the interface instead of 'Save'. This interface error happens even when saving a newly created file for the first time.
The file is successfully saved to the selected location when Move is tapped, however the 'Move' prompt is simply confusing for a user that has created a brand-new file. If the file already exists and Move is tapped, the user is properly prompted to replace or rename the file.
This issue is reproducable using the CommunityToolkit Samples app, or by creating your own app using FileSaver.
Expected Behavior
The iOS FileSaver dialog should show 'Save' when saving a newly created file.
Steps To Reproduce
- Open and run the CommunityToolkit.Maui.Sample solution.
- Tap the hamburger menu, select essentials, select FileSaver.
- Select any of the FileSaver instantiation methods.
Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui.git
Environment
- .NET MAUI CommunityToolkit: 4.0.0
- OS: iOS 17.2
- .NET MAUI: net8.0-iosAnything else?
No response