bug fixes
This commit is contained in:
@@ -7,9 +7,13 @@ function onClick(idx)
|
||||
ui:showDialog("Dialog title", "This is dialog")
|
||||
elseif idx == 2 then
|
||||
ui:showDialog("Dialog title", "This is dialog", "Button 1", "Button 2")
|
||||
elseif idx == 100 then
|
||||
end
|
||||
end
|
||||
|
||||
function onDialogClick(idx)
|
||||
if idx == 1 then
|
||||
ui:showToast("Button 1 clicked!")
|
||||
elseif idx == 200 then
|
||||
elseif idx == 2 then
|
||||
ui:showToast("Button 2 clicked!")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user