From 08817352cbf519e3a9f902a8e30b183617c4868f Mon Sep 17 00:00:00 2001 From: JT Date: Mon, 5 Jun 2023 00:08:27 -0700 Subject: [PATCH] make CheckpointBrowserViewModel singleton --- StabilityMatrix/App.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StabilityMatrix/App.xaml.cs b/StabilityMatrix/App.xaml.cs index c6b76738..477d923d 100644 --- a/StabilityMatrix/App.xaml.cs +++ b/StabilityMatrix/App.xaml.cs @@ -87,7 +87,7 @@ namespace StabilityMatrix serviceCollection.AddTransient(); serviceCollection.AddTransient(); serviceCollection.AddTransient(); - serviceCollection.AddTransient(); + serviceCollection.AddSingleton(); var settingsManager = new SettingsManager(); serviceCollection.AddSingleton(settingsManager);