Cleanup ru scripts

This commit is contained in:
Evgeny
2025-05-10 14:22:54 +08:00
parent 26ebaa3020
commit 3aff6de786
3 changed files with 7 additions and 7 deletions

View File

@@ -11,14 +11,14 @@ function on_alarm()
end
function on_network_result(result)
quote = ajson:get_value(result, "object string:quoteText")
author = ajson:get_value(result, "object string:quoteAuthor")
quote = ajson:read(result, "object string:quoteText")
author = ajson:read(result, "object string:quoteAuthor")
ui:show_lines({ quote }, { author })
end
function on_click()
if quote ~= nil then
system:copy_to_clipboard(quote)
system:to_clipboard(quote)
end
end