Implemented save as dialog for Windows.

This commit is contained in:
tsommer committed 2022-08-14 20:08:57 +02:00
1 parent 0580bf0785
commit b1f5e94069
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
}
}