mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 01:48:12 +00:00
Fix closing video on error
This commit is contained in:
@@ -364,10 +364,7 @@ extension PlayerModel {
|
||||
message: Text(message),
|
||||
primaryButton: .cancel { [weak self] in
|
||||
guard let self else { return }
|
||||
self.advancing = false
|
||||
self.videoBeingOpened = nil
|
||||
self.currentItem = nil
|
||||
self.hide()
|
||||
self.closeCurrentItem()
|
||||
},
|
||||
secondaryButton: retryButton
|
||||
)
|
||||
|
Reference in New Issue
Block a user