summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-04-11 21:26:43 +0200
committerxengineering <me@xengineering.eu>2023-04-11 21:26:43 +0200
commitf363e37146a108ad22227a7b28249bc82ac33aeb (patch)
tree1e61480d92561a1eb1f91edcabceceab026bd851
parentcdd88aa3bdd897257c16ea83ef93925dde9ce8d1 (diff)
downloadlimox-f363e37146a108ad22227a7b28249bc82ac33aeb.tar
limox-f363e37146a108ad22227a7b28249bc82ac33aeb.tar.zst
limox-f363e37146a108ad22227a7b28249bc82ac33aeb.zip
Mask password
-rw-r--r--go/main.go1
1 files changed, 1 insertions, 0 deletions
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)
},
),