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:
parent
e4ec06a9c8
commit
1e67e943df
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user