added saving app placement
This commit is contained in:
@@ -9,10 +9,11 @@ namespace CursorLang.Views;
|
||||
/// </summary>
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
public MainWindow(SettingsViewModel viewModel, IThemeService theme)
|
||||
public MainWindow(SettingsViewModel viewModel, IThemeService theme, MainWindowPlacement placement)
|
||||
{
|
||||
InitializeComponent();
|
||||
DataContext = viewModel;
|
||||
theme.Register(this);
|
||||
placement.Attach(this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user