bitbox-wallet-app
bitbox-wallet-app copied to clipboard
frontend: fix receive view with software keystore
In e4f0d4e7 the receive view was split into BitBox01 and BitBox02 components so that the BitBox01 legacy version could remain as is.
This introduced an issue that no receive view is shown with the software keystore used in webdev (dev mode).
Fixed receive view for software keystore and render the BitBox02 receive component.
It would be nice if you passed along the device ID to receive.tsx anyway, so then you could e.g. hide the verify button completely if there is no device (deviceID is undefined).
Currently it's weird that it says 'Verify on the BitBox02', and when you click, it shows a dialog about the bitbox01.
That dialog comes from here:
https://github.com/digitalbitbox/bitbox-wallet-app/blob/e85d0387be8b012a93bb547f23b0776e0d310e3a/frontends/web/src/routes/account/receive/receive.tsx#L105
This can also be removed from receive.tsx.
Added a commit to pass deviceID and removed some BB01 code as discussed, PTAL
It would be nice if you passed along the device ID to receive.tsx anyway, so then you could e.g. hide the verify button completely if there is no device (deviceID is undefined).
… AppVeyor doesn't like it, but seems unrelated
Installing the following packages:
make
By installing, you accept licenses for the packages.
make not installed. An error occurred during installation:
The remote server returned an error: (524).
Thanks. I took the liberty of merging this, as I needed the receive screen to work for my upcoming PR :innocent: