execute handler after popup closed

This commit is contained in:
raziman 2020-08-25 21:12:00 +08:00
parent c65784aa50
commit de53c881a0

View File

@ -90,9 +90,9 @@ func confirmationPopup(
SetButtonBackgroundColor(gomu.colors.popup).
SetButtonTextColor(gomu.colors.accent).
SetDoneFunc(func(indx int, label string) {
handler(indx, label)
gomu.pages.RemovePage("confirmation-popup")
gomu.popups.pop()
handler(indx, label)
})
gomu.pages.