Migrate 'now playing' screen to lua

This commit is contained in:
jacqueline
2023-11-24 15:13:10 +11:00
parent 230721cd62
commit 7c6eb2997c
43 changed files with 613 additions and 1840 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ local legacy_ui = require("legacy_ui")
local database = require("database")
local backstack = require("backstack")
local browser = require("browser")
local playing = require("playing")
return function()
local menu = {}
@@ -29,7 +30,7 @@ return function()
})
menu.list:add_btn(nil, "Now Playing"):onClicked(function()
legacy_ui.open_now_playing();
backstack.push(playing)
end)
local indexes = database.indexes()