From a307e9c04c9cb9ce71c05cd6b312f4100c8cf7fe Mon Sep 17 00:00:00 2001 From: Evgeny Date: Sat, 30 Jul 2022 15:21:20 +0300 Subject: [PATCH] info on how to check the availability of the API function --- README.md | 2 +- samples/check-new-api-sample.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c63e25a..0bf2aa6 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/samples/check-new-api-sample.lua b/samples/check-new-api-sample.lua index 30092dd..60f8cef 100644 --- a/samples/check-new-api-sample.lua +++ b/samples/check-new-api-sample.lua @@ -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