mirror of
https://github.com/yattee/yattee.git
synced 2025-10-10 09:28:15 +00:00
Drop iOS 14 and macOS 11 support
This commit is contained in:
@@ -79,15 +79,10 @@ struct InspectorView: View {
|
||||
Text(detail.localized())
|
||||
.foregroundColor(.secondary)
|
||||
Spacer()
|
||||
let value = Text(value).lineLimit(1)
|
||||
if #available(iOS 15.0, macOS 12.0, *) {
|
||||
value
|
||||
#if !os(tvOS)
|
||||
Text(value).lineLimit(1)
|
||||
#if !os(tvOS)
|
||||
.textSelection(.enabled)
|
||||
#endif
|
||||
} else {
|
||||
value
|
||||
}
|
||||
#endif
|
||||
}
|
||||
.font(.caption)
|
||||
}
|
||||
|
Reference in New Issue
Block a user