Repository navigation
Commit 32260f2
fix(settings): hasUserKeys checks IndexedDB fallback for imported keys
Keys imported from backup file go to IndexedDB only; localStorage is
never written, so hasUserKeys() returned false on reload. Now checks
IndexedDB qryptchat_pq_keypair as fallback when localStorage is empty.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9802410 commit 32260f2
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
380 | 381 | | |
381 | 382 | | |
382 | 383 | | |
383 | | - | |
384 | | - | |
385 | | - | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
386 | 392 | | |
387 | 393 | | |
388 | 394 | | |
| |||
0 commit comments