276 unable to change amount from sendtourl qr format#280
Merged
SajeeTechi merged 10 commits intorelease/2.0.31from Jan 13, 2026
Merged
276 unable to change amount from sendtourl qr format#280SajeeTechi merged 10 commits intorelease/2.0.31from
SajeeTechi merged 10 commits intorelease/2.0.31from
Conversation
- Added logic to parse encoded `amount` and `description` inside the `sendto` parameter. - Added logic to parse encoded `tipAmount` and `tipDescription` inside the `tipTo` parameter. - Ensures correct address and alias extraction when query strings are improperly encoded.
- Parse tipAmount and tipDescription from URI query parameters in Landing route - Include tipAmount and tipDescription when constructing sendToParams - Parse tipAmount and tipDescription in Wallet route for sendToURL construction - Maintains consistency with existing parameter handling pattern
- Remove sendTransaction property from SendToScreen widget - Remove unused SendTransaction import - Remove sendTransaction from router instantiation - Clean up commented-out dead code The sendTransaction parameter was never used within the SendToScreen widget and was never passed any value during navigation.
- to - amount - description
…d phase error Wrap clearAmountController() and resetInputErrorState() in addPostFrameCallback to avoid triggering rebuilds during navigation back to send_progress screen. This fixes the "setState() called during build" error.
…ion-not-taken-from-sendtourl-qr-format
- Parse and format amounts according to community decimal support before setting in amount controller - For communities without decimals (decimalDigits == 0): convert to integer format (e.g., "1.0" → "1") - For communities with decimals: format with appropriate precision and remove trailing zeros - Apply same formatting logic to tip amounts to ensure consistency - Fixes issue where pre-filled amounts with decimals were uneditable in communities that don't support decimal values The root cause was that input formatters (integerAmountFormatter vs amountFormatter) expect amounts in specific formats. When pre-filled amounts didn't match the expected format, the text field blocked all editing attempts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
close #276
clip https://drive.google.com/file/d/1W_R-ttUU4LEzD2sCzOFGcM2EaSBB1HTT/view?usp=sharing
to do with community token decimal support.