If you have a Mac app that displays its own icon somewhere in the UI, it can end up showing the incorrect icon if the user's icon style changes while the app is running. Here's a SwiftUI view that can handle that and always display the icon that matches the current system style: https://gist.github.com/insidegui/686ae55087542b430be976918418d129
