Let the sidebar's channels and playlists follow the data context

This commit is contained in:
Arkadiusz Fal
2026-09-14 07:11:28 +02:00
parent f2c4721e5a
commit 82ef5267c4
8 changed files with 264 additions and 29 deletions

View File

@@ -139,6 +139,10 @@ final class InvidiousSubscriptionProvider: SubscriptionProvider {
cachePopulated ? cachedChannels.count : nil
}
var cachedSubscriptions: [Channel]? {
cachePopulated ? cachedChannels : nil
}
// MARK: - Private Helpers
/// Gets the authenticated Invidious instance and session ID from account settings.