Use a more familiar lua snake_hour

This commit is contained in:
Evgeny
2021-08-01 19:57:41 +03:00
parent 6e24536f99
commit f24288af99
26 changed files with 208 additions and 184 deletions

View File

@@ -1,11 +1,11 @@
function onResume()
appsNames = { "Telegram", "WhatsApp", "Google PLay" }
appsPkgs = { "org.telegram.messenger.web", "com.whatsapp", "com.android.vending" }
appsColors = { "#0000ff", "#00ff00" }
function on_resume()
apps_names = { "Telegram", "WhatsApp", "Google PLay" }
apps_pkgs = { "org.telegram.messenger.web", "com.whatsapp", "com.android.vending" }
apps_colors = { "#0000ff", "#00ff00" }
ui:showButtons(appsNames, appsColors)
ui:show_buttons(apps_names, apps_colors)
end
function onClick(idx)
system:openApp(appsPkgs[idx])
function on_click(idx)
system:open_app(apps_pkgs[idx])
end