mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
fixed default loading.
This commit is contained in:
committed by
Lavius Motileng
parent
0a20be85ab
commit
69e7a581fd
@@ -1,5 +1,7 @@
|
||||
using System;
|
||||
|
||||
using Microsoft.PowerToys.Settings.UI.Activation;
|
||||
using Microsoft.PowerToys.Settings.UI.Helpers;
|
||||
using Microsoft.PowerToys.Settings.UI.Services;
|
||||
using Microsoft.PowerToys.Settings.UI.ViewModels;
|
||||
|
||||
using Windows.UI.Xaml.Controls;
|
||||
@@ -14,9 +16,10 @@ namespace Microsoft.PowerToys.Settings.UI.Views
|
||||
public ShellPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
|
||||
DataContext = ViewModel;
|
||||
ViewModel.Initialize(shellFrame, navigationView, KeyboardAccelerators);
|
||||
NavigationService.Navigate(typeof(MainPage));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user