marticliment / UniGetUI

UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
https://www.marticliment.com/unigetui/
MIT License
10.62k stars 348 forks source link

Update: Adapt tray icon to theme changes #2366

Open HO-COOH opened 3 weeks ago

HO-COOH commented 3 weeks ago

This PR will utilize Community ToolKit's ThemeListener and update the tray icon to the correct light/dark mode in time. Unlike currently it only updates when there is a package update check, causing this image

But the current ThemeListener does not work under WinUI3, and I have submitted another PR to them to get that fixed. I will mark this WIP with draft for now, and will switch the status to be ready once that PR gets merged.