Add info about new APIs

This commit is contained in:
Evgeny
2024-12-08 09:36:10 +08:00
parent 6107bc47ce
commit d2651f22cb
4 changed files with 35 additions and 16 deletions

View File

@@ -0,0 +1,3 @@
function on_resume()
ui:show_text(table.concat(calendar:enabled_calendar_ids(), ", "))
end

7
samples/icon-sample.lua Normal file
View File

@@ -0,0 +1,7 @@
-- name = "Icon / private mode sample"
-- icon = "house"
-- private_mode = true
function on_resume()
ui:show_text("This script have an icon and supports private mode")
end