Undo formatting changes in Main.brs

This commit is contained in:
Bronley 2021-01-31 22:10:04 -05:00
parent 1aa0af21c4
commit 0339f0c744

View File

@ -21,7 +21,7 @@ sub Main()
m.overhang = CreateObject("roSGNode", "JFOverhang")
m.scene.insertChild(m.overhang, 0)
m.page_size = 48
app_start:
@ -111,7 +111,7 @@ sub Main()
group = CreateMovieListGroup(selectedItem)
group.overhangTitle = selectedItem.title
m.scene.appendChild(group)
else if (selectedItem.type = "CollectionFolder" OR selectedItem.type = "UserView") AND selectedItem.collectionType = "tvshows"
else if (selectedItem.type = "CollectionFolder" OR selectedItem.type = "UserView") AND selectedItem.collectionType = "tvshows"
group.lastFocus = group.focusedChild
group.setFocus(false)
group.visible = false
@ -148,7 +148,7 @@ sub Main()
group = CreateCollectionDetailList(selectedItem.Id)
group.overhangTitle = selectedItem.title
m.scene.appendChild(group)
else if selectedItem.type = "Folder"
else if selectedItem.type = "Folder"
group.lastFocus = group.focusedChild
group.setFocus(false)
group.visible = false
@ -219,7 +219,7 @@ sub Main()
group.control = "play"
ReportPlayback(group, "start")
m.overhang.visible = false
else
else
dialog = createObject("roSGNode", "Dialog")
dialog.title = tr("Error loading Channel Data")
dialog.message = tr("Unable to load Channel Data from the server")
@ -618,4 +618,4 @@ sub SendPerformanceBeacon(signalName as string)
if m.global.app_loaded = false then
m.scene.signalBeacon(signalName)
end if
end sub
end sub