Fix Checking if profile.playerType is 'internal'

This commit is contained in:
Alexandru Branza 2023-08-15 11:54:03 +03:00
parent 7ff04d7803
commit 281d64adfa

View file

@ -55,7 +55,7 @@ const Stream = ({ className, videoId, addonName, name, description, thumbnail, p
}
}
});
} else if (profile.settings.playerType !== 'internal') {
} else if (profile.settings.playerType && profile.settings.playerType !== 'internal') {
markVideoAsWatched();
toast.show({
type: 'success',