-
Notifications
You must be signed in to change notification settings - Fork 1
fix: NumberPad event click when disabled #545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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
onClickhandler with an empty lambda when the button is disabled
app/src/main/java/to/bitkit/ui/components/NumberPadActionButton.kt
Outdated
Show resolved
Hide resolved
ovitrif
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utAck
Pull request was converted to draft
|
drafted to replace the Secondary button component with a more simple composable |
Done, preview updated |
ovitrif
left a comment
There was a problem hiding this 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
Close #534
Description
This PR removes the event click of NumberPad when disabled
Preview
splitted_invoice.webm
uniffied_invoice.webm
QA Notes