From 3e24a4c892cccc2dc43386832fb21db10bebbc73 Mon Sep 17 00:00:00 2001 From: clover-yan Date: Sun, 4 Jun 2023 13:40:11 +0800 Subject: [PATCH] Fix bug --- DateCountdown/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DateCountdown/MainWindow.xaml.cs b/DateCountdown/MainWindow.xaml.cs index cf3145c..963e77c 100644 --- a/DateCountdown/MainWindow.xaml.cs +++ b/DateCountdown/MainWindow.xaml.cs @@ -181,7 +181,7 @@ private void Window_Loaded(object sender, RoutedEventArgs e) { string[] text = App.StartArgs[0].Split('|'); if (text.Length == 1) - TextBlockTitle.Text = text[0] == "" ? text[0] : "距离高考还有"; + TextBlockTitle.Text = text[0] != "" ? text[0] : "距离高考还有"; else { TextBlockTitle.Text = text[0]; AfterText.Text = text[1];