mirror of
https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies.git
synced 2026-07-25 06:14:31 +00:00
8ff960189e
- Update: Added "Copy Password" to Mafile context menu (if available) - Update: "Save Password" now pre-fills the current password in the "Login Again" dialog when encryption is enabled - Fix: Prevented overlapping confirmation cycles in AutoConfirmer - Fix: Added a Snackbar notification when a confirmation cycle is skipped due to a too frequent timer interval - Fix: Fixed a rare bug where the previous proxy was used instead of the current one during session refresh - Fix: Corrected "Session Permanently Expired" message showing on unrelated errors (e.g. network issues) - UI-Fix: Fixed visual glitch where proxy input appeared non-empty when switching to a mafile-specific proxy - Cleanup: Refactored and cleaned up codebase, improved styling and formatting via ReSharper
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> |