Rename soundName → sound.
This commit is contained in:
parent
0cfae1cc2b
commit
2b9b186fd1
5 changed files with 11 additions and 11 deletions
|
@ -39,8 +39,8 @@ void CocoaNotification::Show(const NotificationOptions& options) {
|
|||
|
||||
if (options.silent) {
|
||||
[notification_ setSoundName:nil];
|
||||
} else if (options.sound_name != nil) {
|
||||
[notification_ setSoundName:base::SysUTF16ToNSString(options.sound_name)];
|
||||
} else if (options.sound != nil) {
|
||||
[notification_ setSoundName:base::SysUTF16ToNSString(options.sound)];
|
||||
} else {
|
||||
[notification_ setSoundName:NSUserNotificationDefaultSoundName];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue