Added todos for project creation & initial creation on Windows

This commit is contained in:
Thorsten Sommer 2022-08-17 21:01:29 +02:00
parent 7b149417e7
commit e3c91791cd
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 6 additions and 3 deletions

View File

@ -62,6 +62,9 @@ public partial class LoadProject
private Task CreateProject() private Task CreateProject()
{ {
// TODO: Need to wait for the project to be created. Afterwards, we need to close the dialog. Meanwhile, we need to show a loading indicator.
#warning TODO: Create project
#if WINDOWS #if WINDOWS
return this.CreateProjectWindows(); return this.CreateProjectWindows();
#elif MACCATALYST #elif MACCATALYST

View File

@ -29,10 +29,10 @@ public partial class LoadProject
this.newProjectDestination = result.Path; this.newProjectDestination = result.Path;
} }
private async Task CreateProjectWindows() private async Task CreateProjectWindows() => await Task.Run(() =>
{ {
this.DataContextFactory.CreateDataContext(this.newProjectDestination);
} });
} }
#endif #endif