mirror of
https://github.com/yattee/yattee.git
synced 2026-11-02 09:57:20 +00:00
Let the sidebar's channels and playlists follow the data context
This commit is contained in:
@@ -73,6 +73,10 @@ private final class ScriptedSubscriptionProvider: SubscriptionProvider {
|
||||
}
|
||||
|
||||
var cachedSubscriptionCount: Int? { subscribed.count }
|
||||
|
||||
var cachedSubscriptions: [Channel]? {
|
||||
subscribed.map { Channel(id: .global($0), name: $0) }
|
||||
}
|
||||
}
|
||||
|
||||
/// Hands out the scripted providers instead of building ones that would need a
|
||||
|
||||
Reference in New Issue
Block a user