diff --git a/app.go b/app.go index f5e8785..e0895f1 100644 --- a/app.go +++ b/app.go @@ -21,3 +21,11 @@ func (b *App) startup(ctx context.Context) { func (b *App) domReady(ctx context.Context) { runtime.WindowShow(ctx) } + +func (b *App) No() { + runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ + Type: runtime.ErrorDialog, + Title: "ты чё", + Message: "пидора ответ", + }) +} diff --git a/frontend/src/index.html b/frontend/src/index.html index 405e030..87fc7b1 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -9,8 +9,8 @@