yattee/Shared/PearvidiousApp.swift
Arkadiusz Fal 70c089e696 Initial functionality of player items queue
Fix environment objects

Hide video player placeholder on tvOS

Queue improvements
2021-10-13 23:47:56 +02:00

25 lines
487 B
Swift

import Defaults
import SwiftUI
@main
struct PearvidiousApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
#if !os(tvOS)
.commands {
SidebarCommands()
}
#endif
#if os(macOS)
Settings {
SettingsView()
.environmentObject(InvidiousAPI())
.environmentObject(InstancesModel())
}
#endif
}
}