Browse Source

Fix updater to show correct current app version

pull/55/head
Ionite 1 year ago
parent
commit
4eb0a5e423
No known key found for this signature in database
  1. 2
      StabilityMatrix.Avalonia/ViewModels/Dialogs/UpdateViewModel.cs

2
StabilityMatrix.Avalonia/ViewModels/Dialogs/UpdateViewModel.cs

@ -50,7 +50,7 @@ public partial class UpdateViewModel : ContentDialogViewModelBase
public override async Task OnLoadedAsync()
{
UpdateText = $"Stability Matrix v{UpdateInfo?.Version} is now available! You currently have v{Utilities.GetAppVersion()}. Would you like to update now?";
UpdateText = $"Stability Matrix v{UpdateInfo?.Version} is now available! You currently have v{Compat.AppVersion}. Would you like to update now?";
var client = httpClientFactory.CreateClient();
var response = await client.GetAsync(UpdateInfo?.ChangelogUrl);

Loading…
Cancel
Save