Ava: Fix Updater crashing on Linux (#4457)

This commit is contained in:
TSRBerry 2023-02-22 09:13:50 +01:00 committed by Matt Heins
parent 44cb11474a
commit 88cdf9da74

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);
});
}