mirror of
https://github.com/yattee/yattee.git
synced 2025-10-10 17:38:15 +00:00
Player bar visibility modes and settings
This commit is contained in:
@@ -48,7 +48,9 @@ extension PlayerModel {
|
||||
|
||||
comments.reset()
|
||||
stream = nil
|
||||
currentItem = item
|
||||
withAnimation {
|
||||
currentItem = item
|
||||
}
|
||||
|
||||
if !time.isNil {
|
||||
currentItem.playbackTime = time
|
||||
@@ -204,7 +206,9 @@ extension PlayerModel {
|
||||
let item = PlayerQueueItem(video, playbackTime: atTime)
|
||||
|
||||
if play {
|
||||
currentItem = item
|
||||
withAnimation {
|
||||
currentItem = item
|
||||
}
|
||||
videoBeingOpened = video
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user