diff --git a/dialog/information.go b/dialog/information.go index 4980828bde..0deb27c1b9 100644 --- a/dialog/information.go +++ b/dialog/information.go @@ -10,8 +10,8 @@ import ( func createInformationDialog(title, message string, icon fyne.Resource, parent fyne.Window) Dialog { d := newTextDialog(title, message, icon, parent) - d.dismiss = &widget.Button{ - Text: lang.L("OK"), + d.dismiss = &widget.Button{ + Text: lang.L("OK"), OnTapped: d.Hide, } d.create(container.NewGridWithColumns(1, d.dismiss))