Code cleanup
This commit is contained in:
parent
25c9e607c3
commit
c7f0210324
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user