mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 13:21:38 +00:00
Spawn action click callbacks in notifs
This commit is contained in:
parent
ab75e2b549
commit
0de0610bda
1 changed files with 3 additions and 1 deletions
|
|
@ -393,7 +393,9 @@ function API.new(app)
|
||||||
text = action.text,
|
text = action.text,
|
||||||
style = action.style,
|
style = action.style,
|
||||||
layoutOrder = action.layoutOrder,
|
layoutOrder = action.layoutOrder,
|
||||||
onClick = action.onClick,
|
onClick = function()
|
||||||
|
task.spawn(action.onClick)
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue