Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Remove extra parathesis to improve code cleanliness.

Co-authored-by: 1hitsong <[email protected]>
  • Loading branch information
JarodTAerts and 1hitsong authored Oct 26, 2023
1 parent 5a31250 commit ec332f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tvshows/TVEpisodes.brs
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ function onKeyEvent(key as string, press as boolean) as boolean
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())
if m.extras.visible and key = "down" and m.shuffle.hasFocus()
m.extras.setFocus(true)
return true
end if
Expand Down

0 comments on commit ec332f1

Please sign in to comment.