File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Examples/Showcase/Showcase Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,15 @@ struct ListShowcase: View {
2929 Text ( " Item 2 " )
3030 }
3131 . modifier { list in
32- if #available( iOS 16 , * ) {
32+ if #available( iOS 16 , macOS 13 , * ) {
3333 list. background {
3434 if receiverListFound {
35- Color ( uiColor : . cyan)
35+ Color ( . cyan)
3636 }
3737 }
38+ #if !os(tvOS)
3839 . scrollContentBackground( . hidden)
40+ #endif
3941 } else {
4042 list
4143 }
@@ -87,13 +89,15 @@ struct ListShowcase: View {
8789 #endif
8890 }
8991 . modifier { list in
90- if #available( iOS 16 , * ) {
92+ if #available( iOS 16 , macOS 13 , * ) {
9193 list. background {
9294 if ancestorListFound {
93- Color ( uiColor : . cyan)
95+ Color ( . cyan)
9496 }
9597 }
98+ #if !os(tvOS)
9699 . scrollContentBackground( . hidden)
100+ #endif
97101 } else {
98102 list
99103 }
You can’t perform that action at this time.
0 commit comments