Skip to content

Commit

Permalink
minor: make --placeholder work with --password
Browse files Browse the repository at this point in the history
  • Loading branch information
abenz1267 committed Oct 26, 2024
1 parent a22814d commit 7f24a50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/ui/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@ func setupElementsPassword(app *gtk.Application) *Elements {
elements.appwin.Close()
})

if appstate.ExplicitPlaceholder != "" {
pw.SetObjectProperty("placeholder-text", appstate.ExplicitPlaceholder)
}

appwin := gtk.NewApplicationWindow(app)
appwin.SetApplication(app)

Expand Down

0 comments on commit 7f24a50

Please sign in to comment.