5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-17 01:19:29 +08:00

rename auth func

This commit is contained in:
popaprozac 2025-03-14 18:58:23 -07:00
parent e4ec06a9c8
commit 1e67e943df
2 changed files with 4 additions and 4 deletions

View File

@ -323,9 +323,9 @@ func (ns *Service) CheckBundleIdentifier() bool {
return true 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) // (user authorization is macOS-specific)
func (ns *Service) RequestUserNotificationAuthorization() (bool, error) { func (ns *Service) RequestNotificationAuthorization() (bool, error) {
return true, nil return true, nil
} }

View File

@ -106,9 +106,9 @@ func CheckBundleIdentifier() bool {
return true 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) // (user authorization is macOS-specific)
func (ns *Service) RequestUserNotificationAuthorization() (bool, error) { func (ns *Service) RequestNotificationAuthorization() (bool, error) {
return true, nil return true, nil
} }