Fixes acknowledgment screen in darkmode

This commit is contained in:
Matt Kiazyk 2020-12-30 15:43:33 -06:00
parent cc9afeda97
commit 8d1f2b512d
No known key found for this signature in database
GPG key ID: 967DBC53389132D7

View file

@ -1,12 +1,14 @@
import SwiftUI
struct AcknowledgmentsView: View {
var body: some View {
ScrollingTextView(
attributedString: NSAttributedString(
rtf: try! Data(contentsOf: Bundle.main.url(forResource: "Licenses", withExtension: "rtf")!),
documentAttributes: nil
)!
.addingAttribute(.foregroundColor, value: NSColor.labelColor)
)
.frame(minWidth: 500, minHeight: 500)
}