Commit 655dac3
chore(runway): cherry-pick fix(predict): cp-7.63.0 override team colors for Super Bowl (#25208)
- fix(predict): cp-7.63.0 override team colors for Super Bowl (#25204)
## **Description**
Override team colors for Super Bowl teams to ensure correct branding
display. The Polymarket API returns incorrect team colors for the New
England Patriots and Seattle Seahawks, so we apply manual overrides when
caching team data.
**Changes:**
- Added `TEAM_COLOR_OVERRIDES` constant with corrected colors for NE
(Patriots blue) and SEA (Seahawks green)
- Applied color overrides during team cache population
## **Changelog**
CHANGELOG entry: null
## **Related issues**
Fixes: https://consensyssoftware.atlassian.net/browse/PRED-545
## **Manual testing steps**
```gherkin
Feature: Predict team colors display
Scenario: user views Super Bowl market with correct team colors
Given user has navigated to a Super Bowl prediction market
When user views the market details
Then Patriots (NE) should display with color #1D4E9B
And Seahawks (SEA) should display with color #69BE28
```
## **Screenshots/Recordings**
<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->
### **Before**
<!-- [screenshots/recordings] -->
### **After**
<!-- [screenshots/recordings] -->
<img width="373" height="772" alt="Screenshot 2026-01-26 at 9 50 42 AM"
src="https://github.com/user-attachments/assets/0e9cde1a-2179-491c-b592-b55ea260ded7"
/>
<img width="367" height="764" alt="Screenshot 2026-01-26 at 9 50 29 AM"
src="https://github.com/user-attachments/assets/5558cf8f-86b9-4fa6-8125-dc85a9c51d7a"
/>
## **Pre-merge author checklist**
- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I've included tests if applicable
- [x] I've documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I've applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
## **Pre-merge reviewer checklist**
- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Ensures correct branding colors for specific teams when ingesting
Polymarket data.
>
> - Adds `TEAM_COLOR_OVERRIDES` with NE `#1D4E9B` and SEA `#69BE28`
> - Applies overrides in `TeamsCache.fetchAndCacheTeams` before storing
teams in cache
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
4640b44. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
[903f214](903f214)
Co-authored-by: Luis Taniça <matallui@gmail.com>1 parent 1b21313 commit 655dac3
1 file changed
Lines changed: 7 additions & 0 deletions
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
| |||
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
| 122 | + | |
116 | 123 | | |
117 | 124 | | |
118 | 125 | | |
| |||
0 commit comments