mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Fix placeholders on tvOS
This commit is contained in:
parent
1c520831d1
commit
8b4838dca5
@ -45,7 +45,7 @@ struct VerticalCells: View {
|
|||||||
|
|
||||||
var columns: [GridItem] {
|
var columns: [GridItem] {
|
||||||
#if os(tvOS)
|
#if os(tvOS)
|
||||||
items.count < 3 ? Array(repeating: GridItem(.fixed(500)), count: [items.count, 1].max()!) : adaptiveItem
|
contentItems.count < 3 ? Array(repeating: GridItem(.fixed(500)), count: [contentItems.count, 1].max()!) : adaptiveItem
|
||||||
#else
|
#else
|
||||||
adaptiveItem
|
adaptiveItem
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user