feat(wallet): the amount field says what can be spent and what is wrong (Phase 4)
The amount field shows its unit, how many sats are confirmed and free to spend, and on mainnet the cap; a problem with the amount -- not whole, too large, more than the group has, too small, over the cap -- is said on the field in its error state instead of under the form. The send-everything row is one 48dp toggleable target, and turning it off again finds the amount typed. The wording of every reason is one function shared by the field and the preview. GroupSendScreenJvmTest types into the form on regtest and mainnet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8e7782261f
commit
9a319e1ef1
6 files changed
+307
-72
No files matched your search
@@ -645,6 +645,8 @@
|
||||
<string name="send_from_the_group_s_wallet">Send from the group's wallet</string>
|
||||
<string name="address">Address</string>
|
||||
<string name="amount_in_sats">Amount in sats</string>
|
||||
<string name="sats">sats</string>
|
||||
<string name="s_sats_confirmed_and_free_to_spend">%1$s sats confirmed and free to spend</string>
|
||||
<string name="send_everything">Send everything</string>
|
||||
<string name="feerate_in_sats_per_byte">Fee rate in sats per byte</string>
|
||||
<string name="ask_the_group_to_send">Ask the group to send</string>
|
||||
|
||||
Reference in new issue
Block a user