novasamatech / nova-spektr

Nova Spektr — All-in-one Polkadot desktop wallet supporting multisigs, staking, light clients, and more
https://novaspektr.io
Apache License 2.0
40 stars 16 forks source link

Wallet management. Remove active wallet lead to broken state #2700

Closed stepanLav closed 4 days ago

stepanLav commented 4 days ago

Description

When user try to delete active wallet - the app won't switch on another available

Example:

https://github.com/user-attachments/assets/fbabf107-9f9c-4f94-b3e2-1966f25c1285

Steps to Reproduce

Preconditions:

  1. Select wallet
  2. Open wallet's details
  3. Remove current wallet

Expected Behavior

Switch to another wallet, first in the wallet management list

Actual Behavior

Broken state without ability to switch wallets

Screenshot 2024-11-21 at 09 43 39

Environment

https://github.com/novasamatech/nova-spektr/commit/74bdda15ed759b1981cf1f32d8cd6443d5c71bd3

stepanLav commented 4 days ago

Status verification: ✅