From 7a9117f13676769a865bbc331901049df058b02f Mon Sep 17 00:00:00 2001 From: MrTimscampi Date: Mon, 6 Jan 2020 22:05:31 +0100 Subject: [PATCH] Hide Cast button on TV layout --- src/scripts/librarymenu.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/scripts/librarymenu.js b/src/scripts/librarymenu.js index 7e3b109500..c4f94c511b 100644 --- a/src/scripts/librarymenu.js +++ b/src/scripts/librarymenu.js @@ -47,7 +47,9 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", " headerSearchButton.classList.remove("hide"); } - headerCastButton.classList.remove("hide"); + if (!layoutManager.tv) { + headerCastButton.classList.remove("hide"); + } } else { headerHomeButton.classList.add("hide"); headerCastButton.classList.add("hide");