diff --git a/v3/pkg/services/notifications/notifications_linux.go b/v3/pkg/services/notifications/notifications_linux.go index 89e577bcb..b9e60a971 100644 --- a/v3/pkg/services/notifications/notifications_linux.go +++ b/v3/pkg/services/notifications/notifications_linux.go @@ -323,9 +323,9 @@ func (ns *Service) CheckBundleIdentifier() bool { return true } -// RequestUserNotificationAuthorization is a Linux stub that always returns true. +// RequestNotificationAuthorization is a Linux stub that always returns true. // (user authorization is macOS-specific) -func (ns *Service) RequestUserNotificationAuthorization() (bool, error) { +func (ns *Service) RequestNotificationAuthorization() (bool, error) { return true, nil } diff --git a/v3/pkg/services/notifications/notifications_windows.go b/v3/pkg/services/notifications/notifications_windows.go index 36466de94..371523ec6 100644 --- a/v3/pkg/services/notifications/notifications_windows.go +++ b/v3/pkg/services/notifications/notifications_windows.go @@ -106,9 +106,9 @@ func CheckBundleIdentifier() bool { return true } -// RequestUserNotificationAuthorization is a Windows stub that always returns true, nil. +// RequestNotificationAuthorization is a Windows stub that always returns true, nil. // (user authorization is macOS-specific) -func (ns *Service) RequestUserNotificationAuthorization() (bool, error) { +func (ns *Service) RequestNotificationAuthorization() (bool, error) { return true, nil }