Closed TobiCrackIT closed 3 years ago
Tapping "MAX" button should set the max possible based on the walletModel.balance
( which the smallest unit of measure is based on walletModel.fork.precision
). In our case, a new wallet should show walletModel.fork.precision
(precision=12 for XCH) meaning an empty wallet will display walletModel.balance
( 0.000000000000 which is 12 zeros after the decimal )
Bug: Can't type our numbers after "MAX" is set.
Recipient address should not be an editable text field and only supports "Tap to Paste Recipient Address" so you have to have something in the clipboard to be able to paste it in. Once pasted, we to show "invalid address" if it doesn't match the format walletModel.fork.ticker + 1 + 58 of [qpzry9x8gf2tvdw0s3jn54khce6mua7l]
:
valid:
xch1507yzrww3mh62zcfx9qxjgnsy5c2s66hfpaj3r0hej3et9gxddxqmksqsf
not valid
xch507yzrww3mh62zcfx9qxjgnsy5c2s66hfpaj3r0hej3et9gxddxqmksqsff
( no 1 after xch )xcv1507yzrww3mh62zcfx9qxjgnsy5c2s66hfpaj3r0hej3et9gxddxqmksqsff
( xcv not a valid walletModel.fork.ticker
)xch1507yzrww3mh62zcfx9qxjgnsy5c2s66hfpaj3r0hej3et9gxddxqmksqs
( length is not 58 of characters form dictionary [qpzry9x8gf2tvdw0s3jn54khce6mua7l] after xch1
)Reset data entry fields when leaving the screen.
Bug: Can't type our numbers after "MAX" is set.
- Tap MAX button
- Tap the 7 number button
- EXPECTED: I can change the last zero 0.000000000000 to 0.000000000007
- ACTUAL: Button tap doesn't change the value.
This looks strange though. The clear button should be used to remove any values that needs to be changed
For the balance box it should read:
(logo) $walletModel.fork.name <space to fill the void> 0.000000000000 ($walletModel.fork.ticker).toUpperCase
Bug: Can't type our numbers after "MAX" is set.
- Tap MAX button
- Tap the 7 number button
- EXPECTED: I can change the last zero 0.000000000000 to 0.000000000007
- ACTUAL: Button tap doesn't change the value.
This looks strange though. The clear button should be used to remove any values that needs to be changed
Hmm yeah even Coinbase doesn't allow changing once max numbers are entered. OK leave as is.
@scotopic , the PR has been updated
Allow users send Chia to another Chia wallet