From f363e37146a108ad22227a7b28249bc82ac33aeb Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 11 Apr 2023 21:26:43 +0200 Subject: Mask password --- go/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'go') diff --git a/go/main.go b/go/main.go index 8d61cf9..f646d7d 100644 --- a/go/main.go +++ b/go/main.go @@ -88,6 +88,7 @@ func (l *Limox) draw(e system.FrameEvent) { layout.Rigid( func(gtx layout.Context) layout.Dimensions { pwd := material.Editor(l.Theme, &l.PwdEditor, "mySafePassword") + pwd.Editor.Mask = '*' return pwd.Layout(gtx) }, ), -- cgit v1.2.3-70-g09d2