From 40706d3782e63705b03f874c2710788925325990 Mon Sep 17 00:00:00 2001 From: James Stanley Date: Tue, 16 Jan 2024 14:46:48 +0000 Subject: [PATCH] material: fix documentation of creating an icon Signed-off-by: James Stanley --- widget/material/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/material/doc.go b/widget/material/doc.go index c44ec899..297b4b70 100644 --- a/widget/material/doc.go +++ b/widget/material/doc.go @@ -49,7 +49,7 @@ // though the underlying state is the same. A widget.Clickable can be drawn as a // round icon button: // -// icon := material.NewIcon(...) +// icon := widget.NewIcon(...) // // material.IconButton(theme, icon).Layout(gtx, button) //