add currency widget
This commit is contained in:
@@ -17,7 +17,9 @@ function on_click(idx)
|
||||
end
|
||||
|
||||
function on_dialog_action(value)
|
||||
if value == 1 then
|
||||
if value == -1 then
|
||||
ui:show_toast("Cancelled")
|
||||
elseif value == 1 then
|
||||
ui:show_toast("Button 1 clicked!")
|
||||
elseif value == 2 then
|
||||
ui:show_toast("Button 2 clicked!")
|
||||
|
||||
@@ -7,6 +7,9 @@ function on_resume()
|
||||
{ "share", "Menu item 1" },
|
||||
{ "copy", "Menu item 2" },
|
||||
{ "trash", "Menu item 3" },
|
||||
{ "share", "Menu item 4" },
|
||||
{ "copy", "Menu item 5" },
|
||||
{ "trash", "Menu item 6" },
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user