mirror of
https://github.com/yattee/yattee.git
synced 2026-02-20 01:39:46 +00:00
Refactor views
This commit is contained in:
@@ -15,11 +15,11 @@ enum VideoInfoInitMode: Sendable {
|
||||
}
|
||||
|
||||
struct VideoInfoView: View {
|
||||
private let initMode: VideoInfoInitMode
|
||||
|
||||
@Environment(\.appEnvironment) private var appEnvironment
|
||||
@Environment(\.videoQueueContext) private var videoQueueContext
|
||||
|
||||
|
||||
private let initMode: VideoInfoInitMode
|
||||
|
||||
// Video loading state (for videoID mode)
|
||||
@State private var loadedVideo: Video?
|
||||
@State private var isLoadingInitialVideo = false
|
||||
|
||||
Reference in New Issue
Block a user