Search screen (#10)
* Search screen with keyboard and suggestions * Clear search on visibility change * Search page works * Local search history * Use built-in delete function * Changelog * Animation * Adjust suggestions * Web play video always goes to home
This commit is contained in:
1 parent
22dfe785f1
commit
740440c3a7
15 files changed
+395
-22
No files matched your search
@@ -93,7 +93,6 @@ function StartFetchTask() as void
|
||||
end function
|
||||
|
||||
function OnHomeGridScreenContentLoaded()
|
||||
m.top.SetFocus(true)
|
||||
m.global.loadingIndicator.visible = false
|
||||
end function
|
||||
|
||||
@@ -121,7 +120,7 @@ function OnHomeGridScreenVideoSelected(event as object) as void
|
||||
end if
|
||||
end if
|
||||
|
||||
ShowVideoScreenFull(videoId)
|
||||
ShowVideoScreenFull(videoId, m.top)
|
||||
end function
|
||||
|
||||
function CloseVideo()
|
||||
@@ -136,15 +135,10 @@ end function
|
||||
function OnPlayVideoCommand()
|
||||
videoId = m.top.playvideo
|
||||
CloseVideo()
|
||||
ShowVideoScreenFull(videoId)
|
||||
ShowVideoScreenFull(videoId, m.top)
|
||||
end function
|
||||
|
||||
function OnHomeGridScreenVideoFocused(event as object) as void
|
||||
' Skip loading the video after first load
|
||||
if m.firstFocus = invalid
|
||||
m.firstFocus = true
|
||||
return
|
||||
end if
|
||||
if m.videoPlayer <> invalid
|
||||
m.videoPlayer.control = "stop"
|
||||
m.videoPlayer.visible = false
|
||||
|
||||
Reference in new issue
Block a user