From cd6b290c64ed15bd1be4b8ff4d0f4f030de03e9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E9=9B=A8?= <737345039@qq.com> Date: Fri, 21 Apr 2023 22:21:20 +0800 Subject: [PATCH] chore: Shield yes! --- src/MaaWpfGui/Res/Themes/Light.xaml | 2 +- .../UserControl/VersionUpdateSettingsUserControl.xaml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/MaaWpfGui/Res/Themes/Light.xaml b/src/MaaWpfGui/Res/Themes/Light.xaml index c7a8dca98b..68d5321088 100644 --- a/src/MaaWpfGui/Res/Themes/Light.xaml +++ b/src/MaaWpfGui/Res/Themes/Light.xaml @@ -2,7 +2,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> - + diff --git a/src/MaaWpfGui/Views/UserControl/VersionUpdateSettingsUserControl.xaml b/src/MaaWpfGui/Views/UserControl/VersionUpdateSettingsUserControl.xaml index 79e88eb066..f6167180fa 100644 --- a/src/MaaWpfGui/Views/UserControl/VersionUpdateSettingsUserControl.xaml +++ b/src/MaaWpfGui/Views/UserControl/VersionUpdateSettingsUserControl.xaml @@ -12,6 +12,7 @@ xmlns:ui="clr-namespace:MaaWpfGui.ViewModels.UI" xmlns:styles="clr-namespace:MaaWpfGui.Styles" xmlns:controls="clr-namespace:MaaWpfGui.Styles.Controls" + xmlns:hc="https://handyorg.github.io/handycontrol" d:DataContext="{d:DesignInstance {x:Type ui:SettingsViewModel}}" d:DesignHeight="300" d:DesignWidth="550" @@ -88,12 +89,14 @@ VerticalAlignment="Center" InputMethod.IsInputMethodEnabled="False" Text="{Binding Proxy}" /> - + Subject="{DynamicResource Version}" + Status="{Binding VersionId, Mode=OneWay}" + Color="#6969AA"/>