From 976d4b15c516a5f2099ade5e1d1b4f6303aa9e67 Mon Sep 17 00:00:00 2001
From: Nutthapat Pongtanyavichai <59821765+Leomotors@users.noreply.github.com>
Date: Wed, 13 Apr 2022 22:51:03 +0700
Subject: [PATCH] Fix Known Issues
---
TestForFailure/vendor/PrivateObjectPrivateType.cs | 2 --
YouAreAFailure/MainPage.xaml.cs | 6 ++++--
YouAreAFailure/Package.appxmanifest | 2 +-
YouAreAFailure/Package.debug.appxmanifest | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/TestForFailure/vendor/PrivateObjectPrivateType.cs b/TestForFailure/vendor/PrivateObjectPrivateType.cs
index 5e4218a..9742b7b 100644
--- a/TestForFailure/vendor/PrivateObjectPrivateType.cs
+++ b/TestForFailure/vendor/PrivateObjectPrivateType.cs
@@ -3,10 +3,8 @@
// https://github.com/Microsoft/testfx/issues/366
-using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
-using System.Reflection;
namespace Microsoft.VisualStudio.TestTools.UnitTesting;
diff --git a/YouAreAFailure/MainPage.xaml.cs b/YouAreAFailure/MainPage.xaml.cs
index 80ebdaf..978336c 100644
--- a/YouAreAFailure/MainPage.xaml.cs
+++ b/YouAreAFailure/MainPage.xaml.cs
@@ -76,8 +76,10 @@ public MainPage() {
// Register a handler for when a page want to browse to other page
Failure.WelcomeFailure.Navigator = RemoteNavigation;
- Failure.TortureChamber.OnGoSettings = () =>
- FailureFrame.Navigate(typeof(Failure.Settings));
+ Failure.TortureChamber.OnGoSettings = () => {
+ (NavigationViewControl.SettingsItem as MUXC.NavigationViewItem)!.IsSelected
+ = true;
+ };
}
private void UpdateTitleBarLayout(CoreApplicationViewTitleBar coreTitleBar) {
diff --git a/YouAreAFailure/Package.appxmanifest b/YouAreAFailure/Package.appxmanifest
index db0675f..5b8df92 100644
--- a/YouAreAFailure/Package.appxmanifest
+++ b/YouAreAFailure/Package.appxmanifest
@@ -9,7 +9,7 @@
+ Version="1.0.73.0" />
diff --git a/YouAreAFailure/Package.debug.appxmanifest b/YouAreAFailure/Package.debug.appxmanifest
index a9ec5ec..07c3265 100644
--- a/YouAreAFailure/Package.debug.appxmanifest
+++ b/YouAreAFailure/Package.debug.appxmanifest
@@ -9,7 +9,7 @@
+ Version="1.0.73.0" />