Add ui:set_expandable() function

This commit is contained in:
Evgeny
2025-01-19 21:04:14 +08:00
parent fa1dc0ad31
commit d1e6efa1d4
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
function on_resume()
ui:set_expandable(true)
if ui:is_expanded() then
ui:show_text("Expanded mode")
else
ui:show_text("Standard mode")
end
end