Cleanup samples

This commit is contained in:
Evgeny
2025-05-03 09:45:26 +08:00
parent 296fbee028
commit b9d73171ed
26 changed files with 51 additions and 612 deletions

View File

@@ -0,0 +1,25 @@
-- name = "Drawer Sample #2"
-- type = "drawer"
-- testing = "true"
local list = {
"abc",
"launch_count",
"launch_time",
"install_time",
"appbox",
"categories",
"close",
}
function on_drawer_open()
drawer:show_list(list)
end
function on_click(idx)
if list[idx] == "close" then
drawer:close()
else
drawer:change_view(list[idx])
end
end