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)
}
}