Browse Source

make CheckpointBrowserViewModel singleton

pull/5/head
JT 1 year ago
parent
commit
08817352cb
  1. 2
      StabilityMatrix/App.xaml.cs

2
StabilityMatrix/App.xaml.cs

@ -87,7 +87,7 @@ namespace StabilityMatrix
serviceCollection.AddTransient<InstallerViewModel>();
serviceCollection.AddTransient<OneClickInstallViewModel>();
serviceCollection.AddTransient<CheckpointManagerViewModel>();
serviceCollection.AddTransient<CheckpointBrowserViewModel>();
serviceCollection.AddSingleton<CheckpointBrowserViewModel>();
var settingsManager = new SettingsManager();
serviceCollection.AddSingleton<ISettingsManager>(settingsManager);

Loading…
Cancel
Save