-
Notifications
You must be signed in to change notification settings - Fork 58
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
4127: send to address #4137
4127: send to address #4137
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Ignored Deployments
|
@johnsmith-gooddollar @sirpy |
@@ -21,6 +21,7 @@ const InputText = ({ | |||
adornmentStyle, | |||
adornmentColor, | |||
adornmentDisabled = false, | |||
iconAlignment = 'right', |
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.
1, what have you decided about both paste + scan QR options ?
in this case you need to display 2 icon buttons somehow - need to discuss this
- you have repeated code. optimise it at leas by using useMemo:
const adornmentJsx = useMemo(() => showAdornment ? (
<TouchableOpacity style={[styles.adornment, adornmentStyle]} disabled={adornmentDisabled} onPress={_onPress}>
<Icon size={normalize(adornmentSize)} color={adornmentColor || inputColor} name={adornment} />
</TouchableOpacity>
) : null, [styles, adornmentStyle, adornmentDisabled, _onPress, adornmentSize, adornmentColor, inputColor, adornment])
{showAdornment && iconAlignment === 'left' && ( | ||
<TouchableOpacity style={[styles.adornment, adornmentStyle]} disabled={adornmentDisabled} onPress={_onPress}> | ||
<Icon size={normalize(adornmentSize)} color={adornmentColor || inputColor} name={adornment} /> | ||
</TouchableOpacity> | ||
)} |
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.
{showAdornment && iconAlignment === 'left' && ( | |
<TouchableOpacity style={[styles.adornment, adornmentStyle]} disabled={adornmentDisabled} onPress={_onPress}> | |
<Icon size={normalize(adornmentSize)} color={adornmentColor || inputColor} name={adornment} /> | |
</TouchableOpacity> | |
)} | |
{iconAlignment === 'left' && adornmentJsx} |
{showAdornment && error !== '' && iconAlignment === 'right' && ( | ||
<TouchableOpacity style={[styles.adornment, adornmentStyle]} disabled={adornmentDisabled} onPress={_onPress}> | ||
<Icon size={normalize(adornmentSize)} color={adornmentColor || inputColor} name={adornment} /> | ||
</TouchableOpacity> |
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.
{showAdornment && error !== '' && iconAlignment === 'right' && ( | |
<TouchableOpacity style={[styles.adornment, adornmentStyle]} disabled={adornmentDisabled} onPress={_onPress}> | |
<Icon size={normalize(adornmentSize)} color={adornmentColor || inputColor} name={adornment} /> | |
</TouchableOpacity> | |
{error !== '' && iconAlignment === 'right' && adornmentJsx} |
disabled={loading} | ||
{...props} | ||
/> | ||
{isSend && ( |
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.
have you tested it with the native flow ? set REACT_APP_DELTA=true in Your local env, at dev instance you will be able to switch onto Goerli and select gEth to send. If you need some Goerli pls ask me
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.
yes I did test, have not tested sending any funds yet tho. will do
@L03TJ3 make sure unit tests are passing |
@L03TJ3 regarding input with 2 icons
|
Description
It was already implemented, but not used. so here we enable the UI so that users can send their g$'s directly to an addres
finalize UI points:
About # (link your issue here)
#4127
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: