mirror of
https://github.com/yattee/yattee.git
synced 2025-10-10 17:38:15 +00:00
Fix crashes
This commit is contained in:
@@ -99,10 +99,11 @@ struct OpenURLHandler {
|
||||
Windows.main.open()
|
||||
#endif
|
||||
|
||||
player.videoBeingOpened = Video(app: accounts.current.app!, videoID: id)
|
||||
let video = Video(app: accounts.current.app!, videoID: id)
|
||||
player.videoBeingOpened = video
|
||||
|
||||
player
|
||||
.playerAPI(player.videoBeingOpened!)
|
||||
.playerAPI(video)?
|
||||
.video(id)
|
||||
.load()
|
||||
.onSuccess { response in
|
||||
|
Reference in New Issue
Block a user