mirror of
https://github.com/yattee/yattee.git
synced 2025-10-14 19:38:13 +00:00
Minor fixes, split files into folders
This commit is contained in:
14
Shared/Player/Player.swift
Normal file
14
Shared/Player/Player.swift
Normal file
@@ -0,0 +1,14 @@
|
||||
import SwiftUI
|
||||
|
||||
struct Player: UIViewControllerRepresentable {
|
||||
var video: Video?
|
||||
|
||||
func makeUIViewController(context _: Context) -> PlayerViewController {
|
||||
let controller = PlayerViewController()
|
||||
controller.video = video
|
||||
|
||||
return controller
|
||||
}
|
||||
|
||||
func updateUIViewController(_: PlayerViewController, context _: Context) {}
|
||||
}
|
Reference in New Issue
Block a user