Skip to content

Conversation

@GuillaumeRx
Copy link
Contributor

@GuillaumeRx GuillaumeRx commented Jan 7, 2025

This adds a new property to the snap_getPreferences return value called hideBalances which binds to the property existing in the preference controller called privacyMode.

Fixes: #2977

@codecov
Copy link

codecov bot commented Jan 7, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 94.71%. Comparing base (a342b7e) to head (689d462).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...s/snaps-simulator/src/features/simulation/sagas.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2978   +/-   ##
=======================================
  Coverage   94.71%   94.71%           
=======================================
  Files         497      497           
  Lines       10802    10802           
  Branches     1649     1649           
=======================================
  Hits        10231    10231           
  Misses        571      571           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@GuillaumeRx GuillaumeRx marked this pull request as ready for review January 7, 2025 10:18
@GuillaumeRx GuillaumeRx requested a review from a team as a code owner January 7, 2025 10:18
@GuillaumeRx GuillaumeRx merged commit 3928290 into main Jan 7, 2025
165 of 166 checks passed
@GuillaumeRx GuillaumeRx deleted the gr/hide-balances branch January 7, 2025 12:04
Mrtenz pushed a commit that referenced this pull request Jan 8, 2025
This adds a new property to the `snap_getPreferences` return value
called `hideBalances` which binds to the property existing in the
preference controller called `privacyMode`.

Fixes: #2977
PatrykLucka pushed a commit that referenced this pull request Jan 13, 2025
This adds a new property to the `snap_getPreferences` return value
called `hideBalances` which binds to the property existing in the
preference controller called `privacyMode`.

Fixes: #2977
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add hideBalances to getPreferences API

4 participants