Refactor project

This commit is contained in:
Brahim Hadriche committed 2022-11-18 13:04:20 -05:00
1 parent 9c1a2b987b
commit 2f2516eade
115 files changed
+12522

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
function Init()
end function
function OnkeyEvent(key as string, press as boolean) as boolean
if press = false
return false
end if
if key = "back"
CloseVideo()
return true
end if
return false
end function
function CloseVideo()
homeGridScreen = m.top.getParent().findNode("HomeGridScreen")
m.top.control = "stop"
m.top.visible = false
m.top.getParent().removeChild(m.videoPlayer)
homeGridScreen.focus = true
end function