Commit 3444b8a
fix(mobile): stop alerting that shared content vanished after sending it
Since #10435, sending a new task clears the composer draft synchronously
but defers the navigation by a frame. The share import effect re-ran in
that frame: the draft's importedShareIds receipt was gone, the inbox entry
had already been consumed, so the share looked unavailable and the screen
raised "Shared content unavailable" over a task that had just sent fine.
Remember the share this screen consumed and treat it as imported for the
rest of the screen's life, independent of the draft's receipt.
Co-Authored-By: Claude Code <noreply@anthropic.com>1 parent aac6d0a commit 3444b8a
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
326 | 331 | | |
327 | 332 | | |
328 | 333 | | |
| |||
416 | 421 | | |
417 | 422 | | |
418 | 423 | | |
419 | | - | |
420 | | - | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
421 | 427 | | |
422 | 428 | | |
423 | 429 | | |
| |||
747 | 753 | | |
748 | 754 | | |
749 | 755 | | |
| 756 | + | |
750 | 757 | | |
751 | 758 | | |
752 | 759 | | |
| |||
0 commit comments