skip open video player if there's no data

This commit is contained in:
Brahim Hadriche committed 2022-11-05 00:03:57 -04:00
1 parent e9b3a47867
commit af44997471
1 file changed
+3
@@ -8,5 +8,8 @@ end sub
sub OnVideoDetailsLoaded()
m.loadingIndicator.visible = false
if m.videoDetailsTask.content.metadata = invalid
return
end if
ShowVideoScreen(m.videoDetailsTask.content.metadata, m.videoDetailsTask.content.sponsorblock)
end sub