fix: refresh receive after payment#1086
Conversation
4061e04 to
2a3c258
Compare
jvsena42
left a comment
There was a problem hiding this comment.
Nothing blocking so far, still haven't tested
|
Nice fix overall — the LN receive settlement / refresh path brings Android closer to iOS and feels much more consistent. Tested LN + on-chain receive on this branch (foreground, receive sheet open). Compared behavior with iOS. LN receive (foreground)Works as expected: paid receive sheet closes and the received-payment UI shows. Replacement / refresh path looks good for Lightning. On-chain receive (foreground) — gap vs LN / iOSWith the receive sheet open, after an on-chain payment:
On iOS, showing Would be good also to close/refresh the receive sheet for on-chain the same way as LN (or otherwise match iOS), and confirm the reusable address rotates after the current one is used. Screen.Recording.2026-07-22.at.13.13.39.movUX nit (non-blocking)iOS slides receive away before showing received; Android drops the receive sheet abruptly. Nice-to-have parity, not blocking if the on-chain dismiss/refresh above is fixed. Screen.Recording.2026-07-22.at.13.15.24.mov |
This is Android native behavior. Better wait for a improvement on sheet library |
2f968ad to
ff8ac68
Compare
|
@piotr-iohk Fixed in ff8ac68. On-chain receive events now match the exact cached receive address against transaction outputs, invalidate and rotate only that address/BIP21 request, and dismiss the matching receive sheet before the received-payment handoff. Unrelated or newly opened replacement sheets are preserved. Regression coverage was added across CacheStoreTest, LightningRepoTest, WalletRepoTest, and AppViewModelSendFlowTest. The optional animation change is intentionally not included, following the note that the current transition is native behavior of the Android sheet library. |
Description
Preview
Not applicable; this fixes receive-state lifecycle behavior without changing the UI layout. The existing Android sheet animation remains unchanged, as discussed in review.
QA Notes