Skip to content

[Bug]: Spending Pending payment bottom sheet remains when payment succeeds #2248

@catch-21

Description

@catch-21

Describe the bug

When making a spending payment that takes longer than expected the 'Pending Payment' bottom sheet is shown. If the payment is then successful a purple toast message is displayed but the bottom sheet isn't dismissed. If you miss the toast, you might think the payment is still pending.

I've seen this a few times now. If it doesn't happen all the time maybe it is due to timing, such as the payment is successful whilst the bottom sheet it animating in.

Reproduce

  1. Make a LN payment that takes longer than expected (chance)
  2. Once payment is successful, observe bottom sheet remains

Screenshots / Recording

This video is taken about a minute after the successful toast message occurred.

pending_payment_stays.mp4

Operating system

iPhone8 (iOS16)

Bitkit version

1.0.4 (135)

Log output

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions