Skip to content

feat(host): wire windows-rs tray/toast/registry backends into ledgerr-host - #159

Open
elasticdotventures wants to merge 3 commits into
mainfrom
issue-143-tray
Open

feat(host): wire windows-rs tray/toast/registry backends into ledgerr-host#159
elasticdotventures wants to merge 3 commits into
mainfrom
issue-143-tray

Conversation

@elasticdotventures

Copy link
Copy Markdown
Member

Implements #143

  • Conditional tray initialization in ledgerr-host main
  • Non-Windows platforms skip gracefully with log message
  • Settings toggle for tray enable/disable
  • Test validates tray module construction

…windows crate API

- narrow windows_registry wildcard import to Key/CURRENT_USER
- fix ready_tx moved-then-referenced bug in NativeTrayPlatform::new by cloning before move
- update Win32 API call sites for windows crate version bump: BOOL(1) -> true,
  DeleteObject(x) -> DeleteObject(x.into()), hinstance -> hinstance.into(),
  BI_RGB -> BI_RGB.0, PostMessageW WPARAM/LPARAM -> None
- extract WM_APP + 1 tray callback message into a named constant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants