-
Notifications
You must be signed in to change notification settings - Fork 987
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
fix(wallet)_: Send flow from saved address and QR scanner #21899
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
(rf/reg-event-fx | ||
:wallet/init-send-flow-for-address | ||
(fn [_ [args]] | ||
{:fx [[:dispatch [:wallet/clean-send-data]] | ||
[:dispatch [:wallet/open-send-flow args]]]})) |
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.
We clean the send data before user goes into the flow. This ensure no data from any other flows is left and also to prevent any bugs.
:header [quo/page-nav | ||
{:type :no-title | ||
:icon-name :i/close | ||
:on-press events-helper/navigate-back | ||
:margin-top (safe-area/get-top) | ||
:background :blur}]} |
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.
We don't need account switcher on the from page
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.
LGTM 🔥
fixes #21898
fixes #20878
Summary
This PR:
Single.Account.mp4
Two.Accounts.mp4
QR.Scanner.mp4
Testing notes
A quick test of the send flow from the Wallet tab is appreciated
Platforms
Steps to test
From Saved Addresses
Profile > Wallet > Saved Addresses
Send to <SAVED_ADDRESS_NAME>
From
) page if the user has more than one operable accountsFrom QR Scanner
[-]
) on the profile navigation headerFrom
) page if the user has more than one operable accountsstatus: ready