mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Video playback progress and restoring time for previously played
This commit is contained in:
@@ -29,7 +29,6 @@ struct NowPlayingView: View {
|
||||
}
|
||||
}
|
||||
.onPlayPauseCommand(perform: player.togglePlay)
|
||||
|
||||
.padding(.bottom, 20)
|
||||
}
|
||||
|
||||
@@ -72,7 +71,7 @@ struct NowPlayingView: View {
|
||||
player.playHistory(item)
|
||||
player.presentPlayer()
|
||||
} label: {
|
||||
VideoBanner(video: item.video)
|
||||
VideoBanner(video: item.video, playbackTime: item.playbackTime, videoDuration: item.videoDuration)
|
||||
}
|
||||
.contextMenu {
|
||||
Button("Delete", role: .destructive) {
|
||||
|
Reference in New Issue
Block a user