Skip to content

Commit

Permalink
Fix variable casing on extras var
Browse files Browse the repository at this point in the history
  • Loading branch information
jarodaerts committed Oct 26, 2023
1 parent 42a821f commit 5a31250
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/tvshows/TVEpisodes.brs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ end sub
' Updates the visibility of the Extras button based on if this season has any extra features
sub setExtraButtonVisibility()
if isValid(m.top.extrasObjects) and isValidAndNotEmpty(m.top.extrasObjects.items)
m.Extras.visible = true
m.extras.visible = true
end if
end sub

Expand Down Expand Up @@ -55,18 +55,18 @@ function onKeyEvent(key as string, press as boolean) as boolean
return true
end if

if key = "right" and (m.shuffle.hasFocus() or m.Extras.hasFocus())
if key = "right" and (m.shuffle.hasFocus() or m.extras.hasFocus())
m.tvEpisodeRow.setFocus(true)
return true
end if

if m.extras.visible and key = "up" and (m.Extras.hasFocus())
if m.extras.visible and key = "up" and (m.extras.hasFocus())
m.shuffle.setFocus(true)
return true
end if

if m.extras.visible and key = "down" and (m.shuffle.hasFocus())
m.Extras.setFocus(true)
m.extras.setFocus(true)
return true
end if

Expand Down

0 comments on commit 5a31250

Please sign in to comment.