macadmins / nudge

A tool for encouraging the installation of macOS security updates.
Apache License 2.0
1.03k stars 187 forks source link

Xcode 13: Previews for Dark mode is broken #186

Closed erikng closed 3 years ago

erikng commented 3 years ago

There is a bug with Xcode since Xcode 11 that you have to wrap dark mode properties with another SwiftUI property. I got around this by using a ZStack

https://github.com/macadmins/nudge/commit/84d6c7432224552e3f23b89d7652049a04cec840