Skip to content

Commit

Permalink
Add missing doc
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Jul 9, 2021
1 parent afc43fa commit 7711f68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/preferences.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ func (p *InMemoryPreferences) AddChangeListener(listener func()) {
p.changeListeners = append(p.changeListeners, listener)
}

// ChangeListeners returns the list of listeners registered for this set of preferences.
func (p *InMemoryPreferences) ChangeListeners() []func() {
return p.changeListeners
}
Expand Down

0 comments on commit 7711f68

Please sign in to comment.