Try to solve threadding issues (#1168)
This commit is contained in:
parent
c9c5bbb687
commit
1f427919e6
3 changed files with 15 additions and 7 deletions
|
|
@ -41,7 +41,7 @@ namespace LibationAvalonia.ViewModels
|
|||
{
|
||||
await Task.WhenAll(
|
||||
SetBackupCountsAsync(fullLibrary),
|
||||
ProductsDisplay.UpdateGridAsync(fullLibrary));
|
||||
Task.Run(() => ProductsDisplay.UpdateGridAsync(fullLibrary)));
|
||||
}
|
||||
|
||||
private static string menufyText(string header) => Configuration.IsMacOs ? header : $"_{header}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue