mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-23 15:27:03 -04:00
v1.2.5
about page updates
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
{
|
||||
"ChangeLogs": [
|
||||
{
|
||||
"Version": "1.2.5",
|
||||
"Description": "Jazz up the about page."
|
||||
},
|
||||
{
|
||||
"Version": "1.2.4",
|
||||
"Description": "More protection against weird toc files.\nImprovements to re-scan function."
|
||||
|
||||
@@ -34,6 +34,11 @@ namespace WowUp.WPF.ViewModels
|
||||
Version = $"v{_wowUpService.CurrentVersionString}";
|
||||
|
||||
var changeLogFile = await _wowUpService.GetChangeLogFile();
|
||||
if(changeLogFile == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
foreach(var changeLog in changeLogFile.ChangeLogs)
|
||||
{
|
||||
ChangeLogs.Add(changeLog);
|
||||
|
||||
@@ -56,7 +56,19 @@
|
||||
<Border Padding="10" Grid.Row="0">
|
||||
<TextBlock Text="Change Log" FontSize="18"/>
|
||||
</Border>
|
||||
<ListView ItemsSource="{Binding ChangeLogs}" Grid.Row="1"
|
||||
<ItemsControl Padding="10" ItemsSource="{Binding ChangeLogs}" Grid.Row="1">
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<Border Margin="0 10" Padding="10 0" BorderBrush="{StaticResource Purple1}" BorderThickness="1 0 0 0">
|
||||
<StackPanel >
|
||||
<TextBlock FontSize="13" FontWeight="Medium" Text="{Binding Version}" />
|
||||
<TextBlock FontSize="12" Text="{Binding Description}" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</DataTemplate>
|
||||
</ItemsControl.ItemTemplate>
|
||||
</ItemsControl>
|
||||
<!--<ListView ItemsSource="{Binding ChangeLogs}" Grid.Row="1"
|
||||
Background="Transparent"
|
||||
BorderBrush="Transparent">
|
||||
<ListView.ItemContainerStyle>
|
||||
@@ -80,7 +92,7 @@
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</ListView.ItemTemplate>
|
||||
</ListView>
|
||||
</ListView>-->
|
||||
</Grid>
|
||||
</Grid>
|
||||
</ScrollViewer>
|
||||
|
||||
@@ -10,8 +10,12 @@
|
||||
<PackageId>WowUp</PackageId>
|
||||
<Authors>Jliddev</Authors>
|
||||
<Product>WowUp</Product>
|
||||
<Version>1.2.4</Version>
|
||||
<Version>1.2.5</Version>
|
||||
<ApplicationIcon>wowup_logo_512np_RRT_icon.ico</ApplicationIcon>
|
||||
<Copyright>jliddev</Copyright>
|
||||
<PackageProjectUrl>https://wowup.io</PackageProjectUrl>
|
||||
<Description>World of Warcraft addon updater</Description>
|
||||
<RepositoryUrl>https://github.com/jliddev/WowUp</RepositoryUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user