Improve video lists

This commit is contained in:
Arkadiusz Fal
2022-12-13 01:50:26 +01:00
parent 8c1d900a63
commit 57b2276f36
4 changed files with 211 additions and 53 deletions

View File

@@ -23,14 +23,15 @@ struct RelatedView: View {
}
}
}
.environment(\.inNavigationView, false)
#if os(macOS)
.listStyle(.inset)
.listStyle(.inset)
#elseif os(iOS)
.listStyle(.grouped)
.backport
.scrollContentBackground(false)
.listStyle(.grouped)
.backport
.scrollContentBackground(false)
#else
.listStyle(.plain)
.listStyle(.plain)
#endif
}
}

View File

@@ -34,14 +34,15 @@ struct PlayerQueueView: View {
.backport
.listRowSeparator(false)
}
.environment(\.inNavigationView, false)
#if os(macOS)
.listStyle(.inset)
.listStyle(.inset)
#elseif os(iOS)
.listStyle(.grouped)
.backport
.scrollContentBackground(false)
.listStyle(.grouped)
.backport
.scrollContentBackground(false)
#else
.listStyle(.plain)
.listStyle(.plain)
#endif
}