refactor to remove if statement

This commit is contained in:
Charles Ewert 2023-11-22 08:38:16 -05:00
parent d2fcc932b2
commit c49796bd5f

View File

@ -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