Skip to content

feat(android): add percent shortcuts to swap pay input#174

Closed
jonathanchw wants to merge 2 commits intogemwalletcom:mainfrom
jonathanchw:feat/add-percent-amount-shortcuts-to-swap-pay-input
Closed

feat(android): add percent shortcuts to swap pay input#174
jonathanchw wants to merge 2 commits intogemwalletcom:mainfrom
jonathanchw:feat/add-percent-amount-shortcuts-to-swap-pay-input

Conversation

@jonathanchw
Copy link
Copy Markdown
Contributor

Adds 25% / 50% / 100% quick-fill buttons to the swap pay input field.

When the pay amount field is focused, the bottom action bar is replaced by a PayPercentBar showing percent options and a "Done" button to dismiss the keyboard.

  • SwapScene — renders PayPercentBar in place of the swap button when keyboard is open and pay field is editable
  • SwapViewModelonSelectPayPercent(percent) scales the available balance and sets the pay field value
  • SwapScreen — wires onSelectPayPercent to the ViewModel
video5127607918203504612.mp4

@jonathanchw
Copy link
Copy Markdown
Contributor Author

The Android Tests / Unit Tests check failed due to the self-hosted runner losing connection mid-build (not a code issue). Please re-run the job by clicking "Re-run failed jobs" on the checks section.

Annotations
1 error
The self-hosted runner lost communication with the server. Verify the machine is running and has a healthy network connection. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.

@gemcoder21
Copy link
Copy Markdown
Contributor

Closing for now, will make adjustments in separate commit with changes to the swap

@gemcoder21 gemcoder21 closed this Apr 23, 2026
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.

2 participants