Fix Connections card hit area on macOS
This commit is contained in:
@@ -79,10 +79,14 @@ public struct ConnectionView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.foregroundColor(.textColor)
|
.foregroundColor(.textColor)
|
||||||
|
#if !os(tvOS)
|
||||||
|
.padding(16)
|
||||||
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
|
.contentShape(Rectangle())
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#if !os(tvOS)
|
#if !os(tvOS)
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
.padding(16)
|
|
||||||
.cardStyle()
|
.cardStyle()
|
||||||
#endif
|
#endif
|
||||||
.alert($alert)
|
.alert($alert)
|
||||||
|
|||||||
Reference in New Issue
Block a user