Ensure the keyword version is read out before reading out the version number

This commit is contained in:
Alekhya Reddy 2020-10-26 14:45:04 -07:00
parent e6a5b589ff
commit c76c4f026e
2 changed files with 4 additions and 1 deletions

View File

@ -687,6 +687,9 @@
<data name="General_Version.Text" xml:space="preserve">
<value>Version:</value>
</data>
<data name="General_Version.AutomationProperties.Name" xml:space="preserve">
<value>Version</value>
</data>
<data name="Shortcut_Overlay_Theme.Header" xml:space="preserve">
<value>Background theme</value>
</data>

View File

@ -117,7 +117,7 @@
<StackPanel Orientation="Horizontal"
Margin="{StaticResource SmallTopMargin}"
AutomationProperties.LabeledBy="{Binding ElementName=General_Version}">
<TextBlock Text="Version: " x:Uid="General_Version" />
<TextBlock x:Name="General_Version" x:Uid="General_Version" />
<HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/releases" Margin="4,-6,0,0">
<TextBlock Text="{x:Bind ViewModel.PowerToysVersion }" />
</HyperlinkButton>