WestXu / qrtransfer

Transfer your file from an air-gapped device to another, using only qrcode, no wifi/usb/bluetooth needed.
https://qrtransfer.westxu.com
11 stars 1 forks source link

Dioxus branch needs update #6

Closed WestXu closed 2 years ago

WestXu commented 2 years ago

So dioxus 0.1.8 made an api breaking change from this:

let mut count = use_state(&cx, || 0); // 0.1.7

to this: (discussions see https://github.com/DioxusLabs/dioxus/pull/129)

let (count, set_count) = use_state(&cx, || 0);  // 0.1.8

And this new api is what the dioxus branch of this repo uses.

Now dioxus 2.0 came out, with this api change reverted somehow. What we need is to adapt to this revert, and bump the dep version up to 2.0.

@羽田

WestXu commented 2 years ago

https://github.com/WestXu/qrtransfer/pull/8 Finished.