-
Notifications
You must be signed in to change notification settings - Fork 985
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
[ISSUE #3213] Allow to reset gas details #3272
Conversation
src/status_im/ui/screens/db.cljs
Outdated
:gas-price ethereum/default-gas-price}) | ||
|
||
(defn transaction-send-default [] | ||
(merge (gas-default) | ||
{:symbol :ETH})) |
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.
why is it a function? seems like it can be easily transformed to variable.
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 did this change to prepare for the move to a computed gas price (#3241)
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.
could you leave a comment?
src/status_im/ui/screens/db.cljs
Outdated
@@ -42,7 +45,7 @@ | |||
:tags [] | |||
:sync-state :done | |||
:wallet.transactions constants/default-wallet-transactions | |||
:wallet {:send-transaction transaction-send-default} | |||
:wallet {:send-transaction (transaction-send-default)} |
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.
why it became a function?
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 did this change to prepare for the move to a computed gas price (#3241)
@alwx @flexsurfer Reverted to |
Issue 1: Recipient field content is cleared on Send Transaction screen after using Reset to Default on Transaction Fee screen. I would expect that it resets only values related to this screen and keeps other value untouched. Found on iOS TF (from 00:19) https://app.testfairy.com/projects/4803590-status/builds/7671104/sessions/4/?accessToken=/dVbNaVMuWDVKuGWNm9HzN/it4g Steps:
Questions:
|
@annadanchenko I will fix your points #2 and #3 as they sound very similar to the first issue you are describing. |
@annadanchenko, @jeluard X button works more like Back button, it doesn't save changed parameters on the screen only Done button does. |
@annadanchenko @denis-sharypin Made the change related to back button. |
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
fixes #3213
Summary:
Allow to reset gas details to default value
Steps to test:
send
screenstatus: ready