更新
This commit is contained in:
@@ -5,12 +5,9 @@ namespace WPFluent.Gallery.Views.Pages;
|
||||
|
||||
public partial class SettingsPage
|
||||
{
|
||||
public SettingsViewModel ViewModel { get; }
|
||||
|
||||
public SettingsPage()
|
||||
{
|
||||
ViewModel = new SettingsViewModel();
|
||||
DataContext = ViewModel;
|
||||
DataContext = new SettingsViewModel();
|
||||
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user