1
0
mirror of https://github.com/yattee/yattee.git synced 2025-04-27 15:30:33 +05:30

Fix possible crash

This commit is contained in:
Arkadiusz Fal 2022-12-16 21:01:01 +01:00
parent f39b440b21
commit ee9e8bc064

View File

@ -100,6 +100,6 @@ extension Watch {
}
}
return Video(app: app ?? AccountsModel.shared.current.app ?? .local, instanceURL: instanceURL, videoID: videoID)
return Video(app: app ?? AccountsModel.shared.current?.app ?? .local, instanceURL: instanceURL, videoID: videoID)
}
}