MetaMask / MetaMask/metamask-mobile

[Bug]: Predictions claim winnings switches selected network to Polygon instead of restoring previous network selection

Open
#26,401 2 comments 0 reactions 1 assignee Claimed by @salimtb View on GitHub
regression-RC-7.67.0 Sev2-normal team-predict type-bug
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

### Describe the bug

After claiming winnings on the Predictions screen, the app switches the selected network to Polygon instead of maintaining the previously selected network. Prior to claiming, the selected network was Popular Networks. After a successful (or failed) claim, the app should revert back to the previously selected network.

There may be a background process that requires Polygon to be selected during the claim, but once the claim completes the app should restore the previously selected network to prevent user confusion as to why the network was switched to Polygon.
Slack thread: https://consensys.slack.com/archives/C0AG2HMACMA/p1772002405259689 (likely pre-existing issue)
### Expected behavior

After claiming winnings on the Predictions screen, the app should maintain or revert back to the network that was selected before claiming (e.g. Popular Networks / All Networks).

### Screenshots/Recordings

//TODO: need to make another winning prediction to record the issue

### Steps to reproduce

1. Open the app and ensure Popular Networks is selected
2. Navigate to the Predictions screen
3. Claim winnings
4. Observe that the selected network has changed to Polygon

### Error messages or log output

```

```

### Where was this bug found?

Internal release testing

### Version

7.67.0

### Build number

3764

### Build type

_No response_

### Device

Samsung Galaxy A42

### Operating system

Android 13

### Additional context

_No response_

### Severity

_To be added after bug submission by internal support / PM:_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.