Bump version, fix error, complete TODOs

This commit is contained in:
BlossomiShymae
2024-08-16 15:04:42 -05:00
parent 65464d22e3
commit 98996609a3
4 changed files with 6 additions and 7 deletions

View File

@@ -11,7 +11,7 @@
<AvaloniaXamlIlDebuggerLaunch>False</AvaloniaXamlIlDebuggerLaunch> <AvaloniaXamlIlDebuggerLaunch>False</AvaloniaXamlIlDebuggerLaunch>
<ApplicationIcon>app.ico</ApplicationIcon> <ApplicationIcon>app.ico</ApplicationIcon>
<AssemblyName>NeedleworkDotNet</AssemblyName> <AssemblyName>NeedleworkDotNet</AssemblyName>
<AssemblyVersion>0.4.2.0</AssemblyVersion> <AssemblyVersion>0.5.0.0</AssemblyVersion>
<FileVersion>$(AssemblyVersion)</FileVersion> <FileVersion>$(AssemblyVersion)</FileVersion>
<AvaloniaXamlVerboseExceptions>False</AvaloniaXamlVerboseExceptions> <AvaloniaXamlVerboseExceptions>False</AvaloniaXamlVerboseExceptions>
</PropertyGroup> </PropertyGroup>

View File

@@ -103,7 +103,7 @@ namespace Needlework.Net.Desktop.ViewModels
var riotAuthentication = new RiotAuthentication(processInfo.RemotingAuthToken); var riotAuthentication = new RiotAuthentication(processInfo.RemotingAuthToken);
var responseBytes = await response.Content.ReadAsByteArrayAsync(); var responseBytes = await response.Content.ReadAsByteArrayAsync();
var responseBody = responseBytes.Length > 0 ? JsonSerializer.Serialize(JsonSerializer.Deserialize<object>(responseBody), App.JsonSerializerOptions) : string.Empty; var responseBody = responseBytes.Length > 0 ? JsonSerializer.Serialize(JsonSerializer.Deserialize<object>(responseBytes), App.JsonSerializerOptions) : string.Empty;
if (responseBody.Length >= App.MaxCharacters) if (responseBody.Length >= App.MaxCharacters)
{ {
WeakReferenceMessenger.Default.Send(new OopsiesWindowRequestedMessage(responseBody)); WeakReferenceMessenger.Default.Send(new OopsiesWindowRequestedMessage(responseBody));

View File

@@ -55,12 +55,11 @@
<Grid <Grid
RowDefinitions="*" RowDefinitions="*"
ColumnDefinitions="auto,*"> ColumnDefinitions="auto,*">
<!-- TODO change button to sometnig else or disabled "highlighting"--> <TextBlock
<Button
VerticalAlignment="Center" VerticalAlignment="Center"
Classes="Flat" TextAlignment="Center"
Margin="0 0 8 0" Margin="0 0 8 0"
Content="{Binding Method}" Text="{Binding Method}"
Background="{Binding Color}" Background="{Binding Color}"
FontSize="8" FontSize="8"
Width="50" Width="50"

View File

@@ -82,8 +82,8 @@
<ItemsRepeater.ItemTemplate> <ItemsRepeater.ItemTemplate>
<DataTemplate> <DataTemplate>
<Border Margin="4"> <Border Margin="4">
<!-- TODO add some background to InfoBar (currently it is (probably) transparent and you can see other things under it) -->
<ui:InfoBar <ui:InfoBar
Background="{DynamicResource SolidBackgroundFillColorBaseBrush}"
Title="{Binding Title}" Title="{Binding Title}"
IsOpen="{Binding IsOpen}" IsOpen="{Binding IsOpen}"
Severity="{Binding Severity}" Severity="{Binding Severity}"