From 969c13fba100b26295440ad3a068c0f454152978 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Mon, 6 May 2024 12:30:05 +0400 Subject: [PATCH] Fixes in samples --- samples/jepardy-widget.lua | 2 +- samples/settings-test.lua | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 samples/settings-test.lua diff --git a/samples/jepardy-widget.lua b/samples/jepardy-widget.lua index 33c0807..bd686ef 100644 --- a/samples/jepardy-widget.lua +++ b/samples/jepardy-widget.lua @@ -1,6 +1,6 @@ --[[ -This script is getnerated by ChatGPT +This script is generated by ChatGPT Prompt:Search the internet for examples of scripts for AIO Launcher and write a script named "Jepardy" that will display a question from its database of questions with three answer options on the screen. If the answer is correct, a toast "Correct!" should appear on the screen, and a new question should be displayed. If the answer is incorrect, display a toast "Not correct" and present a new question. The database should contain questions in English. diff --git a/samples/settings-test.lua b/samples/settings-test.lua deleted file mode 100644 index 17b9780..0000000 --- a/samples/settings-test.lua +++ /dev/null @@ -1,13 +0,0 @@ -function on_resume() - local s1 = { - key1 = "123", - key2 = "val ue 2", - } - - settings:set_kv(s1) - - local s2 = settings:get_kv() - - ui:show_text("key1=\""..s2.key1.."\" ".."key2=\""..s2.key2.."\"") -end -