Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
clover-yan committed Jun 4, 2023
1 parent 2004cb5 commit 3e24a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DateCountdown/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 3e24a4c

Please sign in to comment.