Skip to content

Small MUToast buttons refactoring

Latest
Compare
Choose a tag to compare
@MoveUpwardsDev MoveUpwardsDev released this 01 Jul 09:45
· 244 commits to master since this release

Remove index in button tap callback

toast.add(view: cancel) { view in
    print("Button did tap cancel")
}
toast.add(view: okay) { view in
    print("Button did tap ok")
    toast.hide()
}