Skip to content

Commit

Permalink
Fix privacyMode preference passed to Snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Feb 19, 2025
1 parent 0cbd7a1 commit cf3ca53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -2557,7 +2557,7 @@ export default class MetamaskController extends EventEmitter {
*/
getPreferences() {
const {
privacyMode,
preferences,
securityAlertsEnabled,
useCurrencyRateCheck,
useTransactionSimulations,
Expand All @@ -2568,7 +2568,7 @@ export default class MetamaskController extends EventEmitter {
} = this.preferencesController.state;

return {
privacyMode,
privacyMode: preferences.privacyMode,
securityAlertsEnabled,
useCurrencyRateCheck,
useTransactionSimulations,
Expand Down

0 comments on commit cf3ca53

Please sign in to comment.