Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: token detection and import #23798

Merged
merged 12 commits into from
Apr 5, 2024
8 changes: 4 additions & 4 deletions app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -2506,10 +2506,10 @@ export default class MetamaskController extends EventEmitter {
}

// TODO: Remove once the preferences controller has been replaced with the core monorepo implementation
this.controllerMessenger.publish(
`${this.preferencesController.name}:stateChange`,
[state, []],
);
this.controllerMessenger.publish('PreferencesController:stateChange', [
state,
bergeron marked this conversation as resolved.
Show resolved Hide resolved
bergeron marked this conversation as resolved.
Show resolved Hide resolved
[],
]);
});

this.controllerMessenger.subscribe(
Expand Down
Loading