Cleanup community scripts

This commit is contained in:
Evgeny
2025-05-03 12:56:03 +08:00
parent d68ab0934f
commit 82ce7e6eff
11 changed files with 23 additions and 23 deletions

View File

@@ -9,12 +9,12 @@ function on_resume()
end
function on_network_result(result)
joke = ajson:get_value(result, "object array:attachments object:0 string:text")
joke = ajson:read(result, "object array:attachments object:0 string:text")
ui:show_text(joke)
end
function on_click()
if joke ~= nil then
system:copy_to_clipboard(joke)
system:to_clipboard(joke)
end
end