mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 18:43:41 -05:00
Don't display full username address in placeholder
This commit is contained in:
parent
ae3e7e2ad9
commit
4904618f8d
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ func (ui *GomuksUI) NewLoginView() mauview.Component {
|
|||
|
||||
hs := ui.gmx.Config().HS
|
||||
view.homeserver.SetPlaceholder("https://example.com").SetText(hs)
|
||||
view.username.SetPlaceholder("@user:example.com").SetText(ui.gmx.Config().UserID)
|
||||
view.username.SetPlaceholder("exampleuser").SetText(ui.gmx.Config().UserID)
|
||||
view.password.SetPlaceholder("correct horse battery staple").SetMaskCharacter('*')
|
||||
|
||||
view.quitButton.SetOnClick(func() { ui.gmx.Stop(true) }).SetBackgroundColor(tcell.ColorDarkCyan)
|
||||
|
|
Loading…
Add table
Reference in a new issue