From 1e67e943df24810c3064cf109ec329d19aafed15 Mon Sep 17 00:00:00 2001 From: popaprozac Date: Fri, 14 Mar 2025 18:58:23 -0700 Subject: [PATCH] rename auth func --- v3/pkg/services/notifications/notifications_linux.go | 4 ++-- v3/pkg/services/notifications/notifications_windows.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 }