Window Size
* Preserve window size when swapping Fluent and Simple themes. * Simplify test batch files. * Trim output. * Different output type depending on the configuration.
This commit is contained in:
@ -18,10 +18,9 @@ namespace AvaloniaCoreRTDemo.Controls
|
||||
this.DataContext = new MainControlViewModel();
|
||||
}
|
||||
|
||||
public void Reload(IMainWindowState? model)
|
||||
public void Reload(IMainWindowState model)
|
||||
{
|
||||
if (model is not null)
|
||||
this.DataContext = new MainControlViewModel(model);
|
||||
this.DataContext = new MainControlViewModel(model);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user