From 98996609a308356f960440c9aa968b187b007336 Mon Sep 17 00:00:00 2001 From: BlossomiShymae <87099578+BlossomiShymae@users.noreply.github.com> Date: Fri, 16 Aug 2024 15:04:42 -0500 Subject: [PATCH] Bump version, fix error, complete TODOs --- Needlework.Net.Desktop/Needlework.Net.Desktop.csproj | 2 +- .../ViewModels/PathOperationViewModel.cs | 2 +- Needlework.Net.Desktop/Views/EndpointView.axaml | 7 +++---- Needlework.Net.Desktop/Views/MainWindow.axaml | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Needlework.Net.Desktop/Needlework.Net.Desktop.csproj b/Needlework.Net.Desktop/Needlework.Net.Desktop.csproj index c1d16c7..07b15b0 100644 --- a/Needlework.Net.Desktop/Needlework.Net.Desktop.csproj +++ b/Needlework.Net.Desktop/Needlework.Net.Desktop.csproj @@ -11,7 +11,7 @@ False app.ico NeedleworkDotNet - 0.4.2.0 + 0.5.0.0 $(AssemblyVersion) False diff --git a/Needlework.Net.Desktop/ViewModels/PathOperationViewModel.cs b/Needlework.Net.Desktop/ViewModels/PathOperationViewModel.cs index 0a6639c..1dae565 100644 --- a/Needlework.Net.Desktop/ViewModels/PathOperationViewModel.cs +++ b/Needlework.Net.Desktop/ViewModels/PathOperationViewModel.cs @@ -103,7 +103,7 @@ namespace Needlework.Net.Desktop.ViewModels var riotAuthentication = new RiotAuthentication(processInfo.RemotingAuthToken); var responseBytes = await response.Content.ReadAsByteArrayAsync(); - var responseBody = responseBytes.Length > 0 ? JsonSerializer.Serialize(JsonSerializer.Deserialize(responseBody), App.JsonSerializerOptions) : string.Empty; + var responseBody = responseBytes.Length > 0 ? JsonSerializer.Serialize(JsonSerializer.Deserialize(responseBytes), App.JsonSerializerOptions) : string.Empty; if (responseBody.Length >= App.MaxCharacters) { WeakReferenceMessenger.Default.Send(new OopsiesWindowRequestedMessage(responseBody)); diff --git a/Needlework.Net.Desktop/Views/EndpointView.axaml b/Needlework.Net.Desktop/Views/EndpointView.axaml index 9a06d6e..d0fbf1f 100644 --- a/Needlework.Net.Desktop/Views/EndpointView.axaml +++ b/Needlework.Net.Desktop/Views/EndpointView.axaml @@ -55,12 +55,11 @@ - -