mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
improved
This commit is contained in:
parent
f89aea6470
commit
3efa69eeb9
1 changed files with 4 additions and 0 deletions
|
@ -134,6 +134,10 @@ func main() {
|
||||||
receiveFileButtion,
|
receiveFileButtion,
|
||||||
entry,
|
entry,
|
||||||
widget.NewButton("Receive", func() {
|
widget.NewButton("Receive", func() {
|
||||||
|
cnf := dialog.NewConfirm("Confirmation", "Accept file ?", confirmCallback, w)
|
||||||
|
cnf.SetDismissText("Nah")
|
||||||
|
cnf.SetConfirmText("Oh Yes!")
|
||||||
|
cnf.Show()
|
||||||
fmt.Println("codePhraseToReceive")
|
fmt.Println("codePhraseToReceive")
|
||||||
}),
|
}),
|
||||||
layout.NewSpacer(),
|
layout.NewSpacer(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue