Skip to content

Conversation

@jvsena42
Copy link
Member

@jvsena42 jvsena42 commented Dec 22, 2025

Close #534

Description

This PR removes the event click of NumberPad when disabled

Preview

splitted_invoice.webm
uniffied_invoice.webm

QA Notes

  • on-chain only
  • lightning only
  • unified invoice

@jvsena42 jvsena42 self-assigned this Dec 22, 2025
@jvsena42 jvsena42 enabled auto-merge December 22, 2025 11:40
@jvsena42 jvsena42 requested review from Copilot and ovitrif December 22, 2025 11:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes an issue where the NumberPad action button remained clickable even when disabled, by removing the click event handler when the button is in a disabled state.

  • Replaced the active onClick handler with an empty lambda when the button is disabled

Copy link
Collaborator

@ovitrif ovitrif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utAck

ovitrif
ovitrif previously approved these changes Dec 22, 2025
@jvsena42 jvsena42 marked this pull request as draft December 22, 2025 11:51
auto-merge was automatically disabled December 22, 2025 11:51

Pull request was converted to draft

@jvsena42
Copy link
Member Author

drafted to replace the Secondary button component with a more simple composable

@jvsena42 jvsena42 marked this pull request as ready for review December 22, 2025 11:58
@jvsena42
Copy link
Member Author

drafted to replace the Secondary button component with a more simple composable

Done, preview updated

Copy link
Collaborator

@ovitrif ovitrif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, the new change

@jvsena42 jvsena42 enabled auto-merge December 22, 2025 12:02
@jvsena42 jvsena42 merged commit 37e2b75 into master Dec 22, 2025
14 checks passed
@jvsena42 jvsena42 deleted the fix/ln-switch branch December 22, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Send: On sending to lightning address it is possible to switch to onchain balance

3 participants