mirror of
https://github.com/yattee/yattee.git
synced 2025-10-15 03:48:11 +00:00
Channels search, add SDWebImage framework
This commit is contained in:
@@ -19,6 +19,10 @@ struct ChannelVideosView: View {
|
||||
|
||||
@Namespace private var focusNamespace
|
||||
|
||||
var videos: [ContentItem] {
|
||||
ContentItem.array(of: store.item?.videos ?? [])
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
#if os(iOS)
|
||||
if inNavigationView {
|
||||
@@ -55,7 +59,7 @@ struct ChannelVideosView: View {
|
||||
.frame(maxWidth: .infinity)
|
||||
#endif
|
||||
|
||||
VideosCellsVertical(videos: store.item?.videos ?? [])
|
||||
VerticalCells(items: videos)
|
||||
|
||||
#if !os(iOS)
|
||||
.prefersDefaultFocus(in: focusNamespace)
|
||||
|
Reference in New Issue
Block a user