From b6bd42268518fa07bb0729921e1046fe0ea78c3b Mon Sep 17 00:00:00 2001 From: Tian L <60599517+tian-lt@users.noreply.github.com> Date: Tue, 25 May 2021 11:41:25 +0800 Subject: [PATCH] fixes up a bug (#35) --- src/Calculator/Views/MainPage.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Calculator/Views/MainPage.xaml.cs b/src/Calculator/Views/MainPage.xaml.cs index 182896bc..b3cfebda 100644 --- a/src/Calculator/Views/MainPage.xaml.cs +++ b/src/Calculator/Views/MainPage.xaml.cs @@ -552,7 +552,7 @@ namespace CalculatorApp private void ShowAboutPage() { - if (AboutPage != null) + if (AboutPage == null) { FindName("AboutPage"); }