From 281d64adfacf9e6d36907c3f99fe6c7159557ad1 Mon Sep 17 00:00:00 2001 From: Alexandru Branza Date: Tue, 15 Aug 2023 11:54:03 +0300 Subject: [PATCH] Fix Checking if profile.playerType is 'internal' --- src/routes/MetaDetails/StreamsList/Stream/Stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/MetaDetails/StreamsList/Stream/Stream.js b/src/routes/MetaDetails/StreamsList/Stream/Stream.js index 1eaa8911f..402b416c0 100644 --- a/src/routes/MetaDetails/StreamsList/Stream/Stream.js +++ b/src/routes/MetaDetails/StreamsList/Stream/Stream.js @@ -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',