stremio/apps/ios/VMCTV/VMCTVApp.swift
Jos Vooges | STH ac951617cb Add Live Events across API/admin/Android TV, mobile ClearKey/DASH fixes, and tvOS app.
Wire FAAB schedule-events into master-api and admin IPTV settings, add Android TV Events UI, fix mobile ClearKey/stream playback (DASH + bump 1.0.23), and scaffold the Apple TV (VMCTV) client with docs/scripts.
2026-09-18 23:34:42 +02:00

24 lines
No EOL
585 B
Swift

import SwiftUI
@main
struct VMCTVApp: App {
@StateObject private var app = AppModel()
init() {
// AsyncImage deelt URLSession.shared — grotere cache zodat Home-posters blijven hangen.
let cache = URLCache(
memoryCapacity: 64 * 1024 * 1024,
diskCapacity: 512 * 1024 * 1024,
diskPath: "vmctv-images"
)
URLCache.shared = cache
}
var body: some Scene {
WindowGroup {
RootView()
.environmentObject(app)
.preferredColorScheme(.dark)
}
}
}