mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Fix icon overwrite (#128)
* run sync twive to fix up images * Update dependencies versions * update cargo-lock dependencies * Adding spinners to ui * Fix icons for gog games * Run fix shortcuts for all boilr shortcuts * Update flatpak release notes
This commit is contained in:
@@ -84,7 +84,10 @@ impl MyEguiApp {
|
||||
},
|
||||
_=> {
|
||||
ui.ctx().request_repaint();
|
||||
ui.label("Finding installed games");
|
||||
ui.horizontal(|ui|{
|
||||
ui.spinner();
|
||||
ui.label("Finding installed games");
|
||||
});
|
||||
},
|
||||
};
|
||||
});
|
||||
@@ -118,6 +121,10 @@ impl MyEguiApp {
|
||||
let usersinfo = sync::run_sync(&settings, &mut some_sender).unwrap();
|
||||
let task = download_images(&settings, &usersinfo, &mut some_sender);
|
||||
block_on(task);
|
||||
|
||||
//Run a second time to fix up shortcuts after images are downloaded
|
||||
sync::run_sync(&settings, &mut some_sender).unwrap();
|
||||
|
||||
if let Some(sender) = some_sender {
|
||||
let _ = sender.send(SyncProgress::Done);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user