Closed DiXN closed 4 years ago
No reason in particular, just was comfortable with using winapi by the time I implemented the sys tray.
Thanks! I'll take a closer look at this tomorrow.
@DiXN I've reverted the expect
and will add in proper error handling into a new PR. Thanks for this!
I did some basic refactoring.
While doing so I noticed that you implemented most components solely with the WinAPI. Is there a reason why you wouldn't use https://github.com/qdot/systray-rs for the tray for example? Crates that offer abstraction over the native API would increase readability in my opinion, in case they support the same features of course.