Add tvOS streams selection

This commit is contained in:
Arkadiusz Fal
2021-10-17 23:49:56 +02:00
parent 62e17d5a18
commit 0d1eaaca5c
7 changed files with 49 additions and 12 deletions

View File

@@ -78,10 +78,12 @@ struct ContentView: View {
func configure() {
SiestaLog.Category.enabled = .common
if let account = instances.defaultAccount {
if let account = instances.defaultAccount ??
// TODO: Remove when piped supports videos information
accounts.all.first(where: { $0.instance.app == .invidious })
{
accounts.setAccount(account)
}
player.accounts = accounts
playlists.accounts = accounts
search.accounts = accounts