updates
All checks were successful
Build and Deploy / Build & Push Image (push) Successful in 32s

This commit is contained in:
2026-03-25 21:32:10 -06:00
parent ec2a4dfced
commit 1b476ad816
8 changed files with 443 additions and 7 deletions

View File

@@ -367,6 +367,10 @@ defmodule CobblemonUiWeb.DashboardLive do
types = CobblemonUi.PokeApi.get_types(species)
evolutions = CobblemonUi.EvolutionApi.get_evolutions(species)
# Pre-download sprites for this species and its evolutions
CobblemonUi.SpriteCache.ensure_sprite(species)
Enum.each(evolutions, &CobblemonUi.SpriteCache.ensure_sprite/1)
evo_tiers =
Enum.map(evolutions, fn evo ->
%{species: evo, tier: Map.get(tier_list, evo)}