From 6bbdc67089540aa9f9b70d06654ba92e618a6b90 Mon Sep 17 00:00:00 2001 From: Jon Kazama Date: Tue, 26 May 2026 18:24:29 +0200 Subject: [PATCH] feat(settings): register LivePreviewPanel in DI --- HellionChat/PluginHostFactory.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/HellionChat/PluginHostFactory.cs b/HellionChat/PluginHostFactory.cs index 8d37f6d..c603ad0 100644 --- a/HellionChat/PluginHostFactory.cs +++ b/HellionChat/PluginHostFactory.cs @@ -154,6 +154,10 @@ internal static class PluginHostFactory services.AddSingleton(sp => new Ui.Components.Settings.ColorPicker( sp.GetRequiredService() )); + services.AddSingleton(sp => new Ui.Components.Settings.LivePreviewPanel( + sp.GetRequiredService(), + sp.GetRequiredService() + )); services.AddSingleton(sp => new Ui.Components.StatusBar( sp.GetRequiredService(), sp.GetRequiredService()