mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Persistence for queue, history and last played
This commit is contained in:
@@ -24,7 +24,7 @@ struct PlaybackBar: View {
|
||||
if !player.lastSkipped.isNil {
|
||||
restoreLastSkippedSegmentButton
|
||||
}
|
||||
if player.currentVideo!.live {
|
||||
if player.live {
|
||||
Image(systemName: "dot.radiowaves.left.and.right")
|
||||
} else if player.isLoadingAvailableStreams || player.isLoadingStream {
|
||||
Image(systemName: "bolt.horizontal.fill")
|
||||
@@ -78,7 +78,7 @@ struct PlaybackBar: View {
|
||||
return "LIVE"
|
||||
}
|
||||
|
||||
guard player.time != nil, player.time!.isValid else {
|
||||
guard player.time != nil, player.time!.isValid, !player.currentVideo.isNil else {
|
||||
return "loading..."
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user