-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APP-1500 #5763
APP-1500 #5763
Conversation
src/screens/SignTransactionSheet.tsx
Outdated
@@ -950,6 +950,7 @@ export const SignTransactionSheet = () => { | |||
} | |||
newShadows | |||
onPress={submitFn} | |||
disabled={!walletBalance?.isLoaded || !selectedGasFee.gasFee.estimatedFee} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are there any other cases where this should be disabled? If so, I think we should move this out to a functional check.
What should happen if the tx simulation hasn't resolved yet? Should we disable the button during that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think people should be able to transact if they choose to without waiting for sim since it's not vital
@@ -769,6 +769,8 @@ export const SignTransactionSheet = () => { | |||
|
|||
const expandedCardBottomInset = EXPANDED_CARD_BOTTOM_INSET + (isMessageRequest ? 0 : GAS_BUTTON_SPACE); | |||
|
|||
const canPressConfirm = isMessageRequest || (!!walletBalance?.isLoaded && !!currentNetwork && !!selectedGasFee?.gasFee?.estimatedFee); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if just message signing we dont need to wait for these things
/tf |
/testflight |
* fix * optional chaining just in case * allow message signing tx w/o loaded balance/gas
* types improvements * useSwapsStore * number & currency formatter * gasss * dont keep previous data * use chainId from input token * hm * decimal separator * add gas fee to review panel * 😕 * save * fix (#5758) * consolidated verified assets fetches (#5759) * fix (#5761) * chore: i18n updates (#5762) * APP-1500 (#5763) * fix * optional chaining just in case * allow message signing tx w/o loaded balance/gas * aaaaaa * uhu * add border back to review gas button * remove color todo tags * gasPrice --------- Co-authored-by: Matthew Wall <[email protected]> Co-authored-by: Ben Goldberg <[email protected]> Co-authored-by: Daniel Sinclair <[email protected]>
…licious-dapp-warning-e2e * 'develop' of github.com:rainbow-me/rainbow: Swaps: package upgrades, fix SwapBackground and AnimatedSwapSpinner (#5775) Swaps: fix safe math negative number support, add comparison functions (#5776) Reanimated v3.11.0 (#5683) Gas (#5757) add degen chain to network selector (#5766) prefer local chain image over custom (#5772) add safe math fns (#5765) filter out assets from curated assets with no icon_url (#5768) fix isQuoteStale lag (#5769) fix icon sizing (#5771) Preliminary work: Update formatter functions to take in object params (#5760) APP-1500 (#5763) chore: i18n updates (#5762)
Fixes APP-1500
What changed (plus any additional context for devs)
Screen recordings / screenshots
What to test