info on how to check the availability of the API function
This commit is contained in:
@@ -536,7 +536,7 @@ You can also check the presence of a particular API function this way (note the
|
||||
|
||||
```
|
||||
if ui.show_list_dialog then
|
||||
ui:show_text("list dialog supported")
|
||||
ui:show_text("list dialog is supported")
|
||||
else
|
||||
ui:show_text("list dialog is not supported")
|
||||
end
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
function on_resume()
|
||||
if ui.show_list_dialog then
|
||||
ui:show_text("list dialog supported")
|
||||
ui:show_text("list dialog is supported")
|
||||
else
|
||||
ui:show_text("list dialog is not supported")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user