Added todos for project creation & initial creation on Windows
This commit is contained in:
parent
7b149417e7
commit
e3c91791cd
@ -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
|
||||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user