mirror of
https://github.com/yattee/yattee.git
synced 2026-02-20 01:39:46 +00:00
Refactor views
This commit is contained in:
@@ -9,13 +9,13 @@ import SwiftUI
|
||||
|
||||
/// A sheet that appears when playing a partially watched video, offering options to resume or start over.
|
||||
struct ResumeActionSheet: View {
|
||||
@Environment(\.dismiss) private var dismiss
|
||||
|
||||
let video: Video
|
||||
let resumeTime: TimeInterval
|
||||
let onContinue: () -> Void
|
||||
let onStartOver: () -> Void
|
||||
|
||||
@Environment(\.dismiss) private var dismiss
|
||||
|
||||
var body: some View {
|
||||
VStack(spacing: 0) {
|
||||
// Drag indicator
|
||||
|
||||
Reference in New Issue
Block a user