mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
rename auth func
This commit is contained in:
parent
e4ec06a9c8
commit
1e67e943df
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue