From c7f0210324c0b8cc31457dbec0044991ad115d24 Mon Sep 17 00:00:00 2001 From: jimiatnymbl Date: Sat, 18 Dec 2021 18:12:33 -0700 Subject: [PATCH] Code cleanup --- components/home/HomeItem.brs | 2 +- components/home/HomeRows.brs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/home/HomeItem.brs b/components/home/HomeItem.brs index a0a25c84..e681d468 100644 --- a/components/home/HomeItem.brs +++ b/components/home/HomeItem.brs @@ -59,7 +59,7 @@ sub itemContentChanged() ' "Program" is from clicking on an "On Now" item on the Home Screen if itemData.type = "Program" m.itemText.Text = itemData.json.name - if (itemData.json.ImageURL <> invalid) + if itemData.json.ImageURL <> invalid m.itemPoster.uri = itemData.json.ImageURL end if diff --git a/components/home/HomeRows.brs b/components/home/HomeRows.brs index cd05d62b..dee58671 100644 --- a/components/home/HomeRows.brs +++ b/components/home/HomeRows.brs @@ -100,7 +100,7 @@ sub onLibrariesLoaded() m.LoadContinueTask.control = "RUN" ' If we have Live TV access, load "On Now" data - if haveLiveTV then + if haveLiveTV m.LoadOnNowTask.observeField("content", "updateOnNowItems") m.LoadOnNowTask.control = "RUN" end if