Skip to content

Commit

Permalink
修复天气预报显示时的问题,提高深色主题对比度
Browse files Browse the repository at this point in the history
  • Loading branch information
STBBRD committed Mar 8, 2024
1 parent 1ac587e commit 71f73b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ private void ShowCastWeathers()
}
else
{
LabelWeatherForecast.Content = "未来 " + castWeathers.Count + " 天不会下雨";
LabelWeatherForecast.Content = "未来 " + (castWeathers.Count - 1) + " 天不会下雨";
}
}
else
{
LabelWeatherForecast.Content="暂无未来天气信息";
LabelWeatherForecast.Content = "暂无未来天气信息";
}
}

Expand All @@ -119,7 +119,7 @@ private string TransferDayOfWeek(int week)
case 6:
weekstring = "周六";
break;
case 0:
case 7:
weekstring = "周日";
break;
}
Expand Down
2 changes: 1 addition & 1 deletion ZongziTEK_Blackboard_Sticker/Style/Dark.xaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="WindowBackgroundColor" Color="#99111111"/>
<SolidColorBrush x:Key="WindowBackgroundColor" Color="#99121212"/>
<SolidColorBrush x:Key="InkCanvasBackgroundColor" Color="#55000000"/>
<SolidColorBrush x:Key="OtherPanelsBackgroundColor" Color="#FF222222"/>
<SolidColorBrush x:Key="ForegroundColor" Color="White"/>
Expand Down

0 comments on commit 71f73b7

Please sign in to comment.