Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

refactor(bar): remove unused DI services

Lars Berger9aaae5c25a3d
diff --git a/GlazeWM.Bar/DependencyInjection.cs b/GlazeWM.Bar/DependencyInjection.cs
index eabebcfd..0f368e08 100644
--- a/GlazeWM.Bar/DependencyInjection.cs
+++ b/GlazeWM.Bar/DependencyInjection.cs
@@ -1,5 +1,4 @@
-using GlazeWM.Bar.Components;
-using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Extensions.DependencyInjection;
namespace GlazeWM.Bar
{
@@ -9,10 +8,6 @@ namespace GlazeWM.Bar
{
services.AddSingleton<BarManagerService>();
- services.AddScoped<MainWindow>();
- services.AddScoped<BarViewModel>();
- services.AddScoped<WorkspacesComponentViewModel>();
-
return services;
}
}