mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-04-26 13:49:21 +08:00
execute handler after popup closed
This commit is contained in:
parent
c65784aa50
commit
de53c881a0
2
popup.go
2
popup.go
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user