From d1b4cf21e5d3a7ef95baad4391f96af54eb0640a Mon Sep 17 00:00:00 2001 From: Charles Ewert Date: Fri, 8 Nov 2024 22:59:20 -0500 Subject: [PATCH] remove unnecessary code. wait until we have data before we create the row --- components/home/HomeRows.bs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/home/HomeRows.bs b/components/home/HomeRows.bs index d691cb154..c0ab55657 100644 --- a/components/home/HomeRows.bs +++ b/components/home/HomeRows.bs @@ -411,15 +411,6 @@ end sub ' createContinueWatchingRow: Creates a row displaying items the user can continue watching ' sub createContinueWatchingRow() - sectionName = tr("Continue Watching") - - if not sectionExists(sectionName) - nextUpRow = m.top.content.CreateChild("HomeRow") - nextUpRow.title = sectionName - nextUpRow.imageWidth = homeRowItemSizes.WIDE_POSTER[0] - nextUpRow.cursorSize = homeRowItemSizes.WIDE_POSTER - end if - ' Load the Continue Watching Data m.LoadContinueWatchingTask.observeField("content", "updateContinueWatchingItems") m.LoadContinueWatchingTask.control = "RUN"