mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-27 00:10:43 +00:00
refactor to remove if statement
This commit is contained in:
parent
d2fcc932b2
commit
c49796bd5f
@ -8,11 +8,7 @@ end sub
|
||||
|
||||
' Triggered when the isLoading boolean component field is changed
|
||||
sub isLoadingChanged()
|
||||
if m.top.isLoading
|
||||
m.spinner.visible = true
|
||||
else
|
||||
m.spinner.visible = false
|
||||
end if
|
||||
m.spinner.visible = m.top.isLoading
|
||||
end sub
|
||||
|
||||
' Triggered when the disableRemote boolean component field is changed
|
||||
|
Loading…
Reference in New Issue
Block a user