mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 00:26:07 +02:00
fix: ensure progress dialog updates on the UI thread
This commit is contained in:
@@ -118,7 +118,7 @@ public sealed class UpdateChecker : IDisposable
|
|||||||
statusText = $"{step}...";
|
statusText = $"{step}...";
|
||||||
}
|
}
|
||||||
|
|
||||||
_progressDialog?.UpdateProgress(fraction, statusText);
|
_app.Invoke(() => _progressDialog?.UpdateProgress(fraction, statusText));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnUpdateStarted(string version)
|
private void OnUpdateStarted(string version)
|
||||||
|
|||||||
Reference in New Issue
Block a user