allow selecting text from the compilers

This commit is contained in:
Clément Padovani 2024-02-17 18:39:10 +01:00
parent 8d7412fd18
commit 53ec9156ff

View file

@ -16,7 +16,9 @@ struct CompilersView: View {
if let compilers = compilers { if let compilers = compilers {
VStack(alignment: .leading) { VStack(alignment: .leading) {
Text("Compilers").font(.headline) Text("Compilers").font(.headline)
Text(Self.content(from: compilers)).font(.subheadline) Text(Self.content(from: compilers))
.font(.subheadline)
.textSelection(.enabled)
} }
} else { } else {
EmptyView() EmptyView()