[Bug]: When connecting to a website for the first time, the globe icon used as the website icon does not fill the container in the permissions updated toast

Open Beginner friendly
#30,400 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
react-native, typescript
Domain
frontend, mobile

Research direction

Reproduce the first-time connection flow on iOS and inspect the connection screen and permissions updated toast where the globe icon is rendered. The fix is done when the fallback globe fills its container in both locations, matching the expected screenshots.

Written by the indexing model from the issue text.

Description

needs-triage regression-prod-7.77.1 team-core-extension-ux team-mobile-ux team-wallet-ux type-bug
Describe the bug

On first connect to a website, the favicon is not present in state, so the globe icon is used instead. But it is smaller than the container. It only takes up 25% of the available space.

Also, the globe icon is not used above the website title in the connect screen. See both screenshots below.

Expected behavior

Globe icon fills the container.

Screenshots/Recordings
Image Image
Steps to reproduce
  1. Fresh install of MetaMask
  2. Visit opensea.io
  3. Connect with MetaMask
  4. Observe connection screen / toast
Error messages or log output

Where was this bug found?

Live version (from official store)

Version

7.77.1

Build number

n/a

Build type

None

Device

iPhone 16

Operating system

iOS

Additional context

No response

Severity

No response

Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
653

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MetaMask/metamask-mobile

All issues in MetaMask/metamask-mobile

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.