Make loading of poster images async
This commit is contained in:
parent
bc1661b8d9
commit
547a811acf
4 changed files with 41 additions and 41 deletions
|
|
@ -45,7 +45,7 @@ fn show_window ( app : & Application ) {
|
|||
async {
|
||||
let data_manager = DataManager :: new () . await ? ;
|
||||
let collection = data_manager . get_collection_overview () . await ;
|
||||
ui . render_collection_overview (collection) ;
|
||||
ui . render_collection_overview (collection) . await ;
|
||||
Ok (())
|
||||
} ,
|
||||
|error| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue