img: remove loading spinners

This adds blank space, but it will be nice if we can improve this
by either fading in or having some shimmer effect.

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-09-06 21:04:02 -07:00
parent 8602650278
commit 772bfbad5f
3 changed files with 6 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ fn render_pfp(
}
match img_cache.map()[url].ready() {
None => ui.add(egui::Spinner::new().size(ui_size)),
None => paint_circle(ui, ui_size),
// Failed to fetch profile!
Some(Err(_err)) => {