Load MainWindow before library finishes loading like Classic
This commit is contained in:
parent
4766ea7372
commit
2a25b7e0ad
5 changed files with 33 additions and 19 deletions
|
|
@ -33,10 +33,11 @@ namespace LibationUiBase.GridView
|
|||
LoadCover();
|
||||
}
|
||||
|
||||
|
||||
public static async Task<List<IGridEntry>> GetAllProductsAsync(IEnumerable<LibraryBook> libraryBooks)
|
||||
{
|
||||
var products = libraryBooks.Where(lb => lb.Book.IsProduct()).ToArray();
|
||||
if (products.Length == 0)
|
||||
return [];
|
||||
|
||||
int parallelism = int.Max(1, Environment.ProcessorCount - 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue