Refactor views

This commit is contained in:
Arkadiusz Fal
2026-02-09 01:13:02 +01:00
parent 8464464199
commit 612dce6b9f
43 changed files with 143 additions and 125 deletions

View File

@@ -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