Skip to content

Commit 9811674

Browse files
feat: use a square Stellar logo in the network picker (#47824)
## Summary - Replace the circular background in `app/images/xlm.svg` with a full-bleed black square so the network picker clips Stellar the same way as Bitcoin and Tron. - The white Stellar mark is unchanged. The logo stays an SVG. CHANGELOG entry: Updated the Stellar network logo to a square icon ## Screenshots ### Before <img width="360" alt="Stellar network picker logo before, shown as a circle" src="https://raw.githubusercontent.com/MetaMask/metamask-extension/a08459eebdeeb79942c7f9f76631155026aaba1c/stellar-logo-before.png" /> ### After <img width="360" alt="Stellar network picker logo after, shown as a rounded square" src="https://raw.githubusercontent.com/MetaMask/metamask-extension/a08459eebdeeb79942c7f9f76631155026aaba1c/stellar-logo-after.png" /> ## Test plan - [x] Preview the SVG in the network-picker frame next to Bitcoin, Tron, and Solana. The square tile fills the rounded frame. - [x] Load the extension and confirm Stellar in the network picker is a rounded square, not a circle. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Visual asset and a test assertion update only; no app logic or security impact. > > **Overview** > Updates the Stellar (**XLM**) network icon in `app/images/xlm.svg` from a **circular** black background to a **full-bleed 16×16 black square**, keeping the white mark the same so the network picker can clip Stellar like Bitcoin and Tron. > > The e2e `matchRoute` test for routes with **`pageObject: null`** now asserts **`/import-srp`** instead of **`/rewards`**, since `/rewards` is registered with a page object. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit f9a7c93. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 68c107d commit 9811674

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎app/images/xlm.svg‎

Lines changed: 3 additions & 3 deletions
Loading

‎test/e2e/route-registry/match-route.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ describe('matchRoute', () => {
3939
});
4040

4141
it('returns null for routes without a page object', () => {
42-
expect(matchRoute('/rewards')).toStrictEqual({
43-
path: '/rewards',
42+
expect(matchRoute('/import-srp')).toStrictEqual({
43+
path: '/import-srp',
4444
pageObject: null,
4545
});
4646
});

0 commit comments

Comments
 (0)