Skip to content

Commit

Permalink
add loading spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert committed Sep 17, 2023
1 parent 1acec71 commit e7955b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/Main.brs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ sub Main (args as dynamic) as void
group.setFocus(true)
end if
else if isNodeEvent(msg, "quickPlayNode")
startMediaLoadingSpinner()
group = sceneManager.callFunc("getActiveScene")
reportingNode = msg.getRoSGNode()
itemNode = invalid
Expand Down Expand Up @@ -342,6 +343,7 @@ sub Main (args as dynamic) as void
end if
end if
end if
stopLoadingSpinner()
else if isNodeEvent(msg, "selectedItem")
' If you select a library from ANYWHERE, follow this flow
selectedItem = msg.getData()
Expand Down

0 comments on commit e7955b9

Please sign in to comment.