diff --git a/community/google-translate-search.lua b/community/google-translate-search.lua index 1d08ec5..423b96b 100644 --- a/community/google-translate-search.lua +++ b/community/google-translate-search.lua @@ -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 diff --git a/samples/deprecated-sample.lua b/samples/deprecated-sample.lua new file mode 100644 index 0000000..a64cc65 --- /dev/null +++ b/samples/deprecated-sample.lua @@ -0,0 +1,4 @@ +function on_resume() + ui:get_default_title() -- deprecated function + ui:show_text("Test") +end