Swap: Don't copy the currency, only amount #5915

Merged
infinite-persistence merged 2 commits from ip/copy-no-currency into master 2021-04-21 17:36:34 +02:00
infinite-persistence commented 2021-04-20 04:09:51 +02:00 (Migrated from github.com)

Issue

Part of #5873: Rounds 2 of LBC swaps

Notes

It was an intended feature to include the currency -- I can paste the full string into my note book, while pasting into wallet apps like Exodus will automatically trim off the currency anyway.

Regardless, removed the 'feature' :D

Approach

Updated CopyableText with onCopy prop that allows the client to override the full text selection.

## Issue Part of #5873[: Rounds 2 of LBC swaps](https://github.com/lbryio/lbry-desktop/issues/5873) ## Notes It was an intended feature to include the currency -- I can paste the full string into my note book, while pasting into wallet apps like Exodus will automatically trim off the currency anyway. Regardless, removed the 'feature' :D ## Approach Updated `CopyableText` with `onCopy` prop that allows the client to override the full text selection.
tzarebczan commented 2021-04-20 05:46:39 +02:00 (Migrated from github.com)

Thanks! I forget what app i was using, but it would not let me paste at all because of the string, so I found myself typing it in manually. Hoping this is where some of the underpayments are coming from.

Thanks! I forget what app i was using, but it would not let me paste at all because of the string, so I found myself typing it in manually. Hoping this is where some of the underpayments are coming from.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#5915
No description provided.