restartTokenDetection() {
    if (!this.selectedAddress) {
      return
    }
    this.detectNewTokens()
    if (this._preferencesStore) {
      const userState = this._preferencesStore.getState()[this.selectedAddress]
      const { customTokens } = userState || {}
      this.getCustomTokenBalances(customTokens)
    }
    this.interval = DEFAULT_INTERVAL
  }
/**
   * Restart token detection polling period and call detectNewTokens
   * in case of address change or user session initialization.
   *
   */
Restart token detection polling period and call detectNewTokens
in case of address change or user session initialization.
Restart token detection polling period and call detectNewTokens in case of address change or user session initialization .
restartTokenDetection() {
    if (!this.selectedAddress) {
      return
    }
    this.detectNewTokens()
    if (this._preferencesStore) {
      const userState = this._preferencesStore.getState()[this.selectedAddress]
      const { customTokens } = userState || {}
      this.getCustomTokenBalances(customTokens)
    }
    this.interval = DEFAULT_INTERVAL
  }
restartTokenDetection ( ) { if ( ! this . selectedAddress ) { return } this . detectNewTokens ( ) if ( this . _preferencesStore ) { const userState = this . _preferencesStore . getState ( ) [ this . selectedAddress ] const { customTokens } = userState || { } this . getCustomTokenBalances ( customTokens ) } this . interval = DEFAULT_INTERVAL }
Restart token detection polling period and call detectNewTokens
 in case of address change or user session initialization.
Restart token detection polling period and call detectNewTokens in case of address change or user session initialization .