MetaMask / MetaMask/metamask-mobile

[Bug]: inconsistency in representation for unavailable fiat conversion

Open
#17,860 1 comment 0 reactions 0 assignees View on GitHub
Bugs---Low-Priority INVALID-ISSUE-TEMPLATE regression-prod-7.60.2 regression-RC-7.53.0 Sev3-low team-confirmations type-bug
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

**Describe the bug**

Inconsistency in representation for unavailable fiat conversion. In the token hero, we show it as `$0`, but within gas modal, we show it as `--`

**Screenshots/Recordings**

Image

**Steps to reproduce**

1. Go to test dapp
2. Trigger a token transfer
3. Notice how fiat values are displayed in different components

**Error messages or log output**

```shell

```

**Detection stage**

in production

**Version**

7.53.0

**Build type**

None

**Device**

iphone 11

**Operating system**

iOS

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the discrepancy in the test dapp during a token transfer, then trace how unavailable fiat values are formatted in the token hero and gas modal. Done means both components consistently represent an unavailable conversion instead of showing `$0` in one place and `--` in the other.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.