Commit 7277c78
committed
Fix Archive closing right after Face ID unlock
restoreArchivePrivacyOnBecomeActive used isLockActive, which is true while
unlocked, so become-active after biometric resign popped the just-opened
Archive. Only dismiss when still locked; suppress background relock during
LocalAuth for Archive unlock so resign cannot clear reveal mid-prompt.
Co-authored-by: D3C0Y <decoder-dev@users.noreply.github.com>1 parent 0669af1 commit 7277c78
2 files changed
Lines changed: 36 additions & 3 deletions
File tree
- submodules
- ChatListUI/Sources
- TelegramUIPreferences/Sources
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
204 | 208 | | |
205 | 209 | | |
206 | 210 | | |
| |||
434 | 438 | | |
435 | 439 | | |
436 | 440 | | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
437 | 444 | | |
438 | 445 | | |
| 446 | + | |
439 | 447 | | |
440 | 448 | | |
441 | 449 | | |
| |||
Lines changed: 27 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
| |||
385 | 389 | | |
386 | 390 | | |
387 | 391 | | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
388 | 404 | | |
389 | 405 | | |
390 | 406 | | |
| |||
518 | 534 | | |
519 | 535 | | |
520 | 536 | | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
521 | 546 | | |
522 | | - | |
523 | | - | |
| 547 | + | |
| 548 | + | |
524 | 549 | | |
525 | 550 | | |
526 | 551 | | |
| |||
0 commit comments