Implemented save as dialog for Windows.
This commit is contained in:
3 files changed
+54
-10
No files matched your search
@@ -37,16 +37,14 @@ public partial class LoadProject
|
||||
|
||||
}
|
||||
|
||||
private async Task ChooseProjectDestination()
|
||||
private Task ChooseProjectDestination()
|
||||
{
|
||||
var projectDestination = await FilePicker.PickAsync(new PickOptions
|
||||
{
|
||||
PickerTitle = "Choose the project destination",
|
||||
});
|
||||
|
||||
if(projectDestination is null)
|
||||
return;
|
||||
|
||||
this.newProjectDestination = projectDestination!.FullPath;
|
||||
#if WINDOWS
|
||||
return this.ChooseProjectDestinationWindows();
|
||||
#elif MACCATALYST
|
||||
return this.ChooseProjectDestinationMacOS();
|
||||
#else
|
||||
return Task.CompletedTask;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user