Skip to content
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

Use currencyConfig.getTokenId instead of addCustomToken hack #5267

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

Jon-edge
Copy link
Collaborator

@Jon-edge Jon-edge commented Sep 20, 2024

Also remove case of overriding a built-in tokenId

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

@Jon-edge Jon-edge force-pushed the jon/fix/dup-custom-tokens branch 4 times, most recently from ec99f0a to 60b8af6 Compare September 20, 2024 20:45
Copy link
Contributor

@peachbits peachbits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One tiny change requested, otherwise looks good

@@ -224,7 +224,7 @@ function EditTokenSceneComponent(props: Props) {
onChangeText={value =>
setLocation(location => {
const out = new Map(location)
out.set(item.key, value)
out.set(item.key, value.replace(/[\n\s]/g, ''))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is redundant and can be simplified to /\s/g

@Jon-edge Jon-edge force-pushed the jon/fix/dup-custom-tokens branch 2 times, most recently from 44a6b5e to e84bf5f Compare September 23, 2024 18:53
Also remove case of overriding a built-in tokenId
@Jon-edge Jon-edge merged commit 4eb8156 into develop Sep 23, 2024
2 checks passed
@Jon-edge Jon-edge deleted the jon/fix/dup-custom-tokens branch September 23, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants