From 6fdd5afb91393bdec61f0cf64d876a67f07c6205 Mon Sep 17 00:00:00 2001 From: Kai O'Reilly Date: Fri, 30 Aug 2024 15:20:11 -0700 Subject: [PATCH] add support button --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 3993fdb..8184a28 100644 --- a/main.go +++ b/main.go @@ -56,9 +56,9 @@ func main() { }) }) tree.Add(p, func(w *core.Button) { - w.SetText("Contact").SetIcon(icons.Mail) + w.SetText("Support").SetIcon(icons.Help) w.OnClick(func(e events.Event) { - core.MessageDialog(w, "contact@cogentcore.org", "Contact us via email at") + pg.Context.OpenURL("/support") }) }) })