From fbc65987700f45fd7bdcd7144b9ffd9aa9720119 Mon Sep 17 00:00:00 2001 From: hanzhang54 Date: Tue, 1 Aug 2023 19:44:49 +0800 Subject: [PATCH] Revert PR#1964 (#2032) * Revert PR#1964 * Replace keyboard input of decimal with mouse input in UI test * Update UI test --- nuget.config | 3 +- src/Calculator/Calculator.csproj | 3 - src/Calculator/Resources/en-US/Resources.resw | 4 +- src/Calculator/Views/Settings.xaml | 303 +++++++++++------- src/Calculator/Views/Settings.xaml.cs | 6 +- .../StandardModeFunctionalTests.cs | 31 ++ 6 files changed, 222 insertions(+), 128 deletions(-) diff --git a/nuget.config b/nuget.config index 0b8604f4d..e59e698f5 100644 --- a/nuget.config +++ b/nuget.config @@ -3,9 +3,8 @@ - - \ No newline at end of file + diff --git a/src/Calculator/Calculator.csproj b/src/Calculator/Calculator.csproj index 4f5693fbe..653eafafe 100644 --- a/src/Calculator/Calculator.csproj +++ b/src/Calculator/Calculator.csproj @@ -793,9 +793,6 @@ - - 0.0.16 - 6.2.14 diff --git a/src/Calculator/Resources/en-US/Resources.resw b/src/Calculator/Resources/en-US/Resources.resw index 5b994de9e..b94831fbf 100644 --- a/src/Calculator/Resources/en-US/Resources.resw +++ b/src/Calculator/Resources/en-US/Resources.resw @@ -4714,11 +4714,11 @@ Appearance Subtitle of appearance setting on Settings page - + App theme Title of App theme expander - + Select which app theme to display Description of App theme expander diff --git a/src/Calculator/Views/Settings.xaml b/src/Calculator/Views/Settings.xaml index 78308de45..44848a791 100644 --- a/src/Calculator/Views/Settings.xaml +++ b/src/Calculator/Views/Settings.xaml @@ -3,7 +3,6 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:automation="using:CalculatorApp.ViewModel.Common.Automation" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.Labs.WinUI" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:muxc="using:Microsoft.UI.Xaml.Controls" xmlns:utils="using:CalculatorApp.Utils" @@ -15,7 +14,7 @@ - - - - 3 @@ -53,6 +44,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +