Skip to content

Commit

Permalink
remove unnecessary code. wait until we have data before we create the…
Browse files Browse the repository at this point in the history
… row
  • Loading branch information
cewert committed Nov 9, 2024
1 parent a316387 commit d1b4cf2
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions components/home/HomeRows.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d1b4cf2

Please sign in to comment.