mirror of
https://github.com/yattee/yattee.git
synced 2026-06-07 07:14:20 +00:00
Hide list row dividers and card clipping on tvOS
Dividers inside rows conflict with the tvOS focus highlight effect. Remove dividers and the inset card background/clipShape on tvOS so the focus effect renders cleanly without visual artifacts.
This commit is contained in:
@@ -98,7 +98,7 @@ struct VideoListRow<Content: View>: View {
|
||||
.fill(Color(nsColor: .separatorColor))
|
||||
.frame(height: 1)
|
||||
.padding(.leading, dividerLeadingPadding)
|
||||
#else
|
||||
#elseif !os(tvOS)
|
||||
Divider()
|
||||
.padding(.leading, dividerLeadingPadding)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user