mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 02:10:21 +08:00
chore: Shield yes!
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
|
||||
<SolidColorBrush x:Key="PallasBrush" Color="#6A6AAB" />
|
||||
<SolidColorBrush x:Key="PallasBrush" Color="#6969AA" />
|
||||
<SolidColorBrush x:Key="ErrorViewBackgroundBrush" Color="#E6E6E6" />
|
||||
<SolidColorBrush x:Key="VersionUpdateViewBackgroundBrush" Color="#ffffff" />
|
||||
<SolidColorBrush x:Key="MarkdigCodeBrush" Color="LightGray" />
|
||||
|
||||
@@ -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}" />
|
||||
<controls:TextBlock
|
||||
<hc:Shield
|
||||
Grid.Row="2"
|
||||
Margin="10"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding VersionInfo, Mode=OneWay}" />
|
||||
Subject="{DynamicResource Version}"
|
||||
Status="{Binding VersionId, Mode=OneWay}"
|
||||
Color="#6969AA"/>
|
||||
<StackPanel
|
||||
Grid.Row="3"
|
||||
Margin="5"
|
||||
|
||||
Reference in New Issue
Block a user