mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
@@ -74,9 +74,10 @@ struct FavoriteItemView: View {
|
||||
case let .channel(_, id, name):
|
||||
var channel = Channel(app: .invidious, id: id, name: name)
|
||||
if let cache = ChannelsCacheModel.shared.retrieve(channel.cacheKey),
|
||||
!cache.videos.isEmpty
|
||||
let cacheChannel = cache.channel,
|
||||
!cacheChannel.videos.isEmpty
|
||||
{
|
||||
contentItems = ContentItem.array(of: cache.videos)
|
||||
contentItems = ContentItem.array(of: cacheChannel.videos)
|
||||
}
|
||||
|
||||
onSuccess = { response in
|
||||
|
Reference in New Issue
Block a user