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
|
if ui.show_list_dialog then
|
||||||
ui:show_text("list dialog supported")
|
ui:show_text("list dialog is supported")
|
||||||
else
|
else
|
||||||
ui:show_text("list dialog is not supported")
|
ui:show_text("list dialog is not supported")
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
function on_resume()
|
function on_resume()
|
||||||
if ui.show_list_dialog then
|
if ui.show_list_dialog then
|
||||||
ui:show_text("list dialog supported")
|
ui:show_text("list dialog is supported")
|
||||||
else
|
else
|
||||||
ui:show_text("list dialog is not supported")
|
ui:show_text("list dialog is not supported")
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user