Minor improvements

This commit is contained in:
2023-08-17 22:14:10 +02:00
parent b1c2454ed9
commit fd9a20e888
17 changed files with 99 additions and 17 deletions

View File

@@ -32,6 +32,12 @@ public static class Startup
return services;
}
public static IServiceCollection AddSettings(this IServiceCollection services)
{
services.TryAddSingleton(new TabPersistenceSettings {LoadState = false, SaveState = false});
return services;
}
public static IServiceCollection AddConsoleViews(this IServiceCollection services)
{
services.TryAddSingleton<MainWindow>();