mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Merge pull request #36 from RobotsAndPencils/bug/acknowledgementDark
Fixes acknowledgment screen in darkmode
This commit is contained in:
commit
ee08684e01
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue