From 6ad311baad125918c76169b7acc4bf027c91be6c Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Sun, 20 Feb 2022 21:33:14 +0300 Subject: [PATCH] Disable play button on poster in TV layout --- src/controllers/itemDetails/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/itemDetails/index.js b/src/controllers/itemDetails/index.js index f1b069e0e..f88456714 100644 --- a/src/controllers/itemDetails/index.js +++ b/src/controllers/itemDetails/index.js @@ -818,8 +818,8 @@ function renderDetailImage(elem, item, imageLoader) { overlayText: false, transition: false, disableIndicators: true, - overlayPlayButton: layoutManager.mobile ? false : true, - action: layoutManager.mobile ? 'none' : 'play', + overlayPlayButton: layoutManager.desktop, + action: layoutManager.desktop ? 'play' : 'none', width: dom.getWindowSize().innerWidth * 0.25 });