Bug title
Address copied notification triggered, when it shouldnt be.
Bug description
The "address copied to clipboard" notification popup appears, even when copying strings of variable lenghts, that aren't addresses.
To Reproduce
Steps to reproduce the behaviour:
Have wallet open
Try to select and copy the following strings:
(checkbox inficates if the notification appears or not)
❌ a
❌ aa
❌ aaa
✔ aaaa
✔ dddd
❌ ddddddddddddddddddddddd
❌ dddddddddddddddddddddddd
✔ dddddddddddddddddddddddddddddddddddddddddd
SBBS address for reference:
✔ 99a7ee348c6e31a099e5061123f09a4f9a40bdfb99549e7b1c96b1a167cd1b82f5
Current behaviour
The "address copied to clipboard" notification popup appears, even when copying strings of variable lenghts
(such as DApp pubkeys(#1070)), that aren't addresses.
Expected behaviour
The popup only appears when I copy an address
As the different address types are not fixed in length, when we have time, we'll need to make an order in this. Too much ambiguity in this.
Bug title Address copied notification triggered, when it shouldnt be.
Bug description The "address copied to clipboard" notification popup appears, even when copying strings of variable lenghts, that aren't addresses.
To Reproduce Steps to reproduce the behaviour:
❌ a ❌ aa ❌ aaa ✔ aaaa ✔ dddd ❌ ddddddddddddddddddddddd ❌ dddddddddddddddddddddddd ✔ dddddddddddddddddddddddddddddddddddddddddd SBBS address for reference: ✔ 99a7ee348c6e31a099e5061123f09a4f9a40bdfb99549e7b1c96b1a167cd1b82f5
Current behaviour The "address copied to clipboard" notification popup appears, even when copying strings of variable lenghts (such as DApp pubkeys(#1070)), that aren't addresses.
Expected behaviour The popup only appears when I copy an address As the different address types are not fixed in length, when we have time, we'll need to make an order in this. Too much ambiguity in this.
Platform and build
Screenshots (if applicable)![grafik](https://github.com/BeamMW/beam-ui/assets/63856008/43d98f35-f39e-42b9-bb1e-a56830d3cbfa)
Related issues:
1070
665