mirror of
https://github.com/yattee/yattee.git
synced 2026-02-20 01:39:46 +00:00
Refactor views
This commit is contained in:
@@ -10,11 +10,11 @@ import SwiftUI
|
||||
/// View for extracting and playing videos from external sites (non-YouTube/PeerTube).
|
||||
/// Uses Yattee Server's yt-dlp integration to extract video information.
|
||||
struct ExternalVideoView: View {
|
||||
let url: URL
|
||||
|
||||
@Environment(\.appEnvironment) private var appEnvironment
|
||||
@Environment(\.dismiss) private var dismiss
|
||||
|
||||
let url: URL
|
||||
|
||||
@State private var isLoading = true
|
||||
@State private var errorMessage: String?
|
||||
@State private var shouldDismissWhenPlayerExpands = false
|
||||
|
||||
Reference in New Issue
Block a user