client icon indicating copy to clipboard operation
client copied to clipboard

No info toast shown when clearing networks - if no custom network is selected

Open DalderupMaurice opened this issue 7 years ago • 0 comments

Expected Behavior

When you clear custom networks it should show an info toast

Current Behavior

It does not show a toast, only when the custom network is selected

Steps to Reproduce

  1. Add a random network
  2. Switch to MainNet/TestNet
  3. Click clear custom networks
  4. Notice that no toast was shown but networks were cleared

Possible Solution

Show the toast

Additional context

/

Your Environment

  • nOS Client version used: 0.4.6
  • Environment name and version
    • Node version: LTS
    • NPM version: LTS
    • Yarn version: LTS
  • Operating System and version (desktop or mobile):

DalderupMaurice avatar Dec 13 '18 17:12 DalderupMaurice