From 8d1f2b512d212a6bb69d1f0024ad9118c0eb1b92 Mon Sep 17 00:00:00 2001 From: Matt Kiazyk Date: Wed, 30 Dec 2020 15:43:33 -0600 Subject: [PATCH] Fixes acknowledgment screen in darkmode --- Xcodes/Frontend/About/AcknowledgementsView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Xcodes/Frontend/About/AcknowledgementsView.swift b/Xcodes/Frontend/About/AcknowledgementsView.swift index 889deb8..bcc22f7 100644 --- a/Xcodes/Frontend/About/AcknowledgementsView.swift +++ b/Xcodes/Frontend/About/AcknowledgementsView.swift @@ -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) }