mirror of
https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies.git
synced 2026-07-25 06:14:31 +00:00
1e65cd4a06
NebulaAuth: - Added MAAC and PortableMaClient for multi-confirmations - Code clean-ups, removed unused classes, refactoring of old files - SteamLib updated - Localization and UI updates - Dependcies updated to the last version LegacyConverter: - Added mode to decrypt mafiles
55 lines
2.6 KiB
XML
55 lines
2.6 KiB
XML
<UserControl x:Class="NebulaAuth.View.UpdaterView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
xmlns:other="clr-namespace:NebulaAuth.ViewModel.Other"
|
|
mc:Ignorable="d"
|
|
Foreground="WhiteSmoke"
|
|
FontFamily="{materialDesign:MaterialDesignFont}"
|
|
d:DataContext="{d:DesignInstance other:UpdaterVM}"
|
|
Background="{DynamicResource WindowBackground}"
|
|
Padding="10"
|
|
MaxWidth="500">
|
|
<d:DesignerProperties.DesignStyle>
|
|
<Style TargetType="UserControl">
|
|
<Setter Property="Background" Value="{DynamicResource WindowBackground}" />
|
|
</Style>
|
|
</d:DesignerProperties.DesignStyle>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock FontSize="24" Text="Обновления"/>
|
|
<Separator Grid.Row="1" />
|
|
|
|
<TextBlock FontSize="16" Margin="5,10,0,10" TextWrapping="WrapWithOverflow" Grid.Row="2" >
|
|
<Run Text="Доступна новая версия:"/>
|
|
<Run FontWeight="Bold" Text="{Binding UpdateInfoEventArgs.CurrentVersion}"/>
|
|
<Run Text="
Вы используете версию"/>
|
|
<Run FontWeight="Bold" Text="{Binding UpdateInfoEventArgs.InstalledVersion}"/>
|
|
<Run Text="Хотите обновить программу?"/>
|
|
</TextBlock>
|
|
<Expander Header="Что изменилось?" Grid.Row="3">
|
|
<!--<wpf:WebView2 HorizontalAlignment="Stretch" Height="300"
|
|
Source="{Binding UpdateInfoEventArgs.ChangelogURL}"
|
|
/>-->
|
|
</Expander>
|
|
<Grid Grid.Row="4">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<Button Content="OK" Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}" />
|
|
<Button IsCancel="True" Grid.Column="1" Content="Cancel" Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}" />
|
|
</Grid>
|
|
|
|
</Grid>
|
|
</UserControl>
|