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

@@ -13,6 +13,9 @@ import SwiftUI
/// Download status is automatically shown from the download manager.
/// On iOS/macOS, supports configurable tap zones for thumbnail and text area.
struct VideoRowView: View {
@Environment(\.appEnvironment) private var appEnvironment
@Environment(\.videoQueueContext) private var videoQueueContext
let video: Video
var style: VideoRowStyle = .regular
var watchProgress: Double? = nil
@@ -24,9 +27,6 @@ struct VideoRowView: View {
/// When true, disables internal tap handling so parent view can handle all taps.
var disableInternalTapHandling: Bool = false
@Environment(\.appEnvironment) private var appEnvironment
@Environment(\.videoQueueContext) private var videoQueueContext
// Platform-specific fonts
#if os(tvOS)
private var titleFont: Font {