wizardsardine / liana

The missing safety net for your coins
https://wizardsardine.com/liana
BSD 3-Clause "New" or "Revised" License
306 stars 53 forks source link

Settings > Bitcoin Core: password should be selectable #1160

Open pythcoiner opened 2 months ago

pythcoiner commented 2 months ago

in order regtest user to use the cli for instance

aaroncarlucci commented 2 months ago

I took a quick look at this. According to this iced issue, selectable text is not yet natively supported. Some other projects suffering from the same pointed to the workaround here, which makes use of a TextInput widget, restyling it and muting the update/callback.

Currently on-hold as per @darosior on Discord.

pythcoiner commented 2 months ago

the easy way is to use the TextInput w/o restyling it, setting a dummy message w/ on_input() that is not handled in update(), so the displayed data cannot be enabled.