Skip to content

[Bug]: Back button navigating from successful spent confetti retries payment #2370

@catch-21

Description

@catch-21

Describe the bug

After successfully paying from savings or spending and the confetti is displayed, using the hardware back button in an attempt to dismiss the bottom sheet (intuitive to me) actually navigates back.
If the payment was from savings, this gives the user the option to retry the same payment, which will fail due to unavailable inputs.
If the payment was from spending, this immediately fails due to invoice already paid.
Neither of these are useful.
It is still possible to swipe down to dismiss the bottom sheet.

Reproduce

  1. Scan an address or invoice
  2. Once confetti screen shows, press hardware back button (possibly android only)
  3. Observe the option to either retry broadcasting the same onchain tx or an immediate retry of LN payment. Both ultimately fail.

Screenshots / Recording

From Savings

Screenrecorder-2024-11-27-15-03-02-557.mp4

From Spending

Screenrecorder-2024-11-27-15-02-21-950.mp4

Operating system

Android 14

Bitkit version

0fbc9c3

Log output

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions