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()
}
toast.add(view: cancel) { view in
print("Button did tap cancel")
}
toast.add(view: okay) { view in
print("Button did tap ok")
toast.hide()
}