Closed
Bug 2037244
Opened 6 months ago
Closed 5 months ago
Team logo loading with local flag fallback
Categories
(Firefox for Android :: Homepage, task)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: skhan, Unassigned)
References
Details
(Whiteboard: [fxdroid][group3][world-cup-phase2] )
TeamInfo.icon provides a URL to a team logo. Load and display it in the
match card using the existing image-loading infrastructure.
- Primary: load from TeamInfo.icon URL
- Fallback: if the URL is null, empty, or the load fails, fall back to
the local flag drawable flag_{key}.webp (keyed on TeamInfo.key,
lowercased, e.g. "ENG" → R.drawable.flag_eng) - If neither is available, show a generic placeholder
The fallback must be applied at load time (not after a visible failure
flash). Add a helper that resolves the drawable resource ID from a team
key so the same lookup can be reused across match card and country
selector.
Updated•6 months ago
|
Updated•5 months ago
|
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•