Files
amethyst/desktopApp/src/jvmMain
nrobi144 f4308ac56d fix(multi-account): saveCurrentAccount now works for all account types
saveCurrentAccount() previously returned failure for read-only and
bunker accounts, preventing them from being added to multi-account
storage. Now:
- Read-only (npub): skips private key save, still saves to storage
- Bunker: saves to storage (private key already saved during login)
- Internal (nsec): saves private key + storage (unchanged)

This was the root cause of npub-only accounts not appearing in the
switcher and accounts being lost when adding via AddAccountDialog.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-29 10:09:59 +03:00
..
2026-03-15 21:10:59 -04:00