Ava: Fix Updater crashing on Linux (#4457)

This commit is contained in:
TSRBerry 2023-02-22 09:13:50 +01:00 committed by GitHub
parent c3a5716a95
commit 1f8d66db7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -506,6 +506,11 @@ namespace Ryujinx.Modules
Dispatcher.UIThread.Post(() =>
{
if (tarEntry is null)
{
return;
}
taskDialog.SetProgressBarState(GetPercentage(tarEntry.Size, inStream.Length), TaskDialogProgressState.Normal);
});
}