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:
Philip Kristoffersen
2022-05-15 07:51:21 +02:00
committed by GitHub
parent 4135d62416
commit eb819c1357
10 changed files with 915 additions and 1805 deletions
+8 -1
View File
@@ -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);
}