fix: add text-selection back in the about dialoge.

This commit is contained in:
Josh
2024-10-19 11:52:12 -07:00
parent d291fcfd52
commit cc42dc57b9

View File

@ -83,6 +83,7 @@ struct AboutView: View {
.tint(.secondary)
.opacity(0.8)
}
.textSelection(.enabled)
VStack(spacing: 2) {
ForEach(computedStrings) { item in
@ -97,6 +98,7 @@ struct AboutView: View {
.opacity(0.8)
}
.font(.callout)
.textSelection(.enabled)
.frame(maxWidth: .infinity)
}
}
@ -119,6 +121,7 @@ struct AboutView: View {
if let copy = self.copyright {
Text(copy)
.font(.caption)
.textSelection(.enabled)
.tint(.secondary)
.opacity(0.8)
.multilineTextAlignment(.center)