Cleanup main scripts

This commit is contained in:
Evgeny
2025-05-03 10:14:22 +08:00
parent b9d73171ed
commit d68ab0934f
3 changed files with 6 additions and 6 deletions

View File

@@ -12,13 +12,13 @@ end
function on_network_result(result, code)
if code >= 200 and code < 299 then
text = ajson:get_value(result, "object string:text")
text = ajson:read(result, "object string:text")
ui:show_lines{ text }
end
end
function on_click()
if text ~= nil then
system:copy_to_clipboard(text)
system:to_clipboard(text)
end
end