Skip to content

Commit

Permalink
Fix new lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Jan 3, 2024
1 parent 23f47dd commit 575bc34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wm/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type ident struct {
Details map[string]dbus.Variant
}

func (a *auth) BeginAuthentication(action_id, message, icon_name string, details map[string]string, cookie string, ids []ident, sender dbus.Sender) (err *dbus.Error) {
func (a *auth) BeginAuthentication(actionID, message, iconName string, details map[string]string, cookie string, ids []ident, sender dbus.Sender) (err *dbus.Error) {
wg := &sync.WaitGroup{}
wg.Add(1)
pass := widget.NewPasswordEntry()
Expand Down Expand Up @@ -157,6 +157,7 @@ func (a *auth) CancelAuthentication(cookie string, sender dbus.Sender) (err *dbu
return nil
}

// StartAuthAgent asks our policy kit agent to start listening for auth requests.
func StartAuthAgent() {
a := &auth{windows: make(map[string]fyne.Window)}
go a.register()
Expand Down

0 comments on commit 575bc34

Please sign in to comment.