add ui:get_default_title and ui:set_title

This commit is contained in:
Evgeny
2021-08-02 21:09:44 +03:00
parent 0e79d5f275
commit 0f25cf7062
2 changed files with 6 additions and 0 deletions

4
title-sample.lua Normal file
View File

@@ -0,0 +1,4 @@
function on_resume()
ui:show_text("Original title: "..ui:get_default_title())
ui:set_title("New title")
end