Small fix to Google translate search script

This commit is contained in:
Evgeny
2025-05-20 14:43:54 +08:00
parent 3b948cc4ca
commit 95d8ed99ee
2 changed files with 5 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ end
function on_click()
if text_to == "" then
search:show_top({"Translating..."}, {blue})
search:show_buttons({"Translating..."}, {blue}, true)
request_trans(text_from)
return false
else

View File

@@ -0,0 +1,4 @@
function on_resume()
ui:get_default_title() -- deprecated function
ui:show_text("Test")
end