Skip to content

Commit

Permalink
Replace detectTokens with #restartTokenDetection in `networkDidCh…
Browse files Browse the repository at this point in the history
…ange` listener
  • Loading branch information
MajorLift committed Feb 6, 2024
1 parent 91be385 commit 88eb7ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export class TokenDetectionController extends StaticIntervalPollingController<

if (isNetworkClientIdChanged && this.#isDetectionEnabledForNetwork) {
this.#networkClientId = selectedNetworkClientId;
await this.detectTokens({
await this.#restartTokenDetection({
networkClientId: this.#networkClientId,
});
}
Expand Down

0 comments on commit 88eb7ca

Please sign in to comment.