Skip to content

Commit

Permalink
[OOBE] Link to VCM settings page (#14006)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimecbernardo committed Oct 27, 2021
1 parent 61b1a4b commit 6dd74f5
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Microsoft.PowerToys.Settings.UI.Library;
using Microsoft.PowerToys.Settings.UI.OOBE.Enums;
using Microsoft.PowerToys.Settings.UI.OOBE.ViewModel;
using Microsoft.PowerToys.Settings.UI.Views;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;

Expand All @@ -26,6 +27,11 @@ public OobeVideoConference()

private void SettingsLaunchButton_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
{
if (OobeShellPage.OpenMainWindowCallback != null)
{
OobeShellPage.OpenMainWindowCallback(typeof(VideoConferencePage));
}

ViewModel.LogOpeningSettingsEvent();
}

Expand Down

0 comments on commit 6dd74f5

Please sign in to comment.