Skip to content

fix(requests): suggest another currency when a share can't be covered - #1879

Merged
bmc08gt merged 2 commits into
code/cashfrom
fix/request-pay-insufficient-funds-copy
Oct 29, 2026
Merged

bmc08gt merged 2 commits into
code/cashfrom
fix/request-pay-insufficient-funds-copy

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

The insufficient balance sheet for paying a request said "Add more money, or enter a smaller amount", but a request share is a fixed amount. It now says "Add more money, or select a different Community Currency".

presentInsufficientBalance takes an optional message, and RequestPayFlow passes description_insufficientBalanceToPayRequest. Chat sends, currency sends and boosts keep the existing subtitle.

iOS gets the same change in code-payments/code-ios-app#1161.

A request share is a fixed amount, so "enter a smaller amount" had no way to act on it. RequestPayFlow now passes its own subtitle to presentInsufficientBalance: "Add more money, or pay with a different currency". Other callers keep the default.
@bmc08gt
bmc08gt merged commit d8dea14 into code/cash Oct 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant