added interface themes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Windows;
|
||||
using CursorLang.Services;
|
||||
using CursorLang.ViewModels;
|
||||
|
||||
namespace CursorLang.Views;
|
||||
@@ -8,9 +9,10 @@ namespace CursorLang.Views;
|
||||
/// </summary>
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
public MainWindow(SettingsViewModel viewModel)
|
||||
public MainWindow(SettingsViewModel viewModel, IThemeService theme)
|
||||
{
|
||||
InitializeComponent();
|
||||
DataContext = viewModel;
|
||||
theme.Register(this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user