lots done
This commit is contained in:
parent
1ba7c39c30
commit
fbd0ba445a
59 changed files with 6074 additions and 3598 deletions
|
|
@ -70,6 +70,7 @@ public partial class App : Application
|
|||
services.AddSingleton<AtlasViewModel>();
|
||||
services.AddSingleton<CraftingViewModel>();
|
||||
services.AddSingleton<MemoryViewModel>();
|
||||
services.AddSingleton<RobotoViewModel>();
|
||||
|
||||
var provider = services.BuildServiceProvider();
|
||||
|
||||
|
|
@ -95,6 +96,7 @@ public partial class App : Application
|
|||
mainVm.AtlasVm = provider.GetRequiredService<AtlasViewModel>();
|
||||
mainVm.CraftingVm = provider.GetRequiredService<CraftingViewModel>();
|
||||
mainVm.MemoryVm = provider.GetRequiredService<MemoryViewModel>();
|
||||
mainVm.RobotoVm = provider.GetRequiredService<RobotoViewModel>();
|
||||
|
||||
var window = new MainWindow { DataContext = mainVm };
|
||||
window.SetConfigStore(store);
|
||||
|
|
@ -108,6 +110,7 @@ public partial class App : Application
|
|||
{
|
||||
overlay.Shutdown();
|
||||
mainVm.Shutdown();
|
||||
mainVm.RobotoVm?.Shutdown();
|
||||
await bot.DisposeAsync();
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue