mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2025-02-23 08:21:13 +00:00
Add back try-catch
This commit is contained in:
parent
bbac0652a3
commit
9e9e18a318
@ -147,12 +147,16 @@ sub toggleFavorite()
|
||||
end sub
|
||||
|
||||
sub setHeartColor(color as string)
|
||||
for i = 0 to 6
|
||||
node = m.favoriteMenu.getChild(i)
|
||||
if node <> invalid and node.uri <> invalid and node.uri = "pkg:/images/icons/favorite_selected.png"
|
||||
m.favoriteMenu.getChild(i).blendColor = color
|
||||
end if
|
||||
end for
|
||||
TRY
|
||||
for i = 0 to 6
|
||||
node = m.favoriteMenu.getChild(i)
|
||||
if node <> invalid and node.uri <> invalid and node.uri = "pkg:/images/icons/favorite_selected.png"
|
||||
m.favoriteMenu.getChild(i).blendColor = color
|
||||
end if
|
||||
end for
|
||||
CATCH e
|
||||
PRINT e.number,e.message
|
||||
end TRY
|
||||
end sub
|
||||
|
||||
sub saveFavoriteItemSelected(msg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user