1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-14 06:10:32 +05:30
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
}
}