Browse Source

Refactored default values

Sebastián Katzer 12 năm trước cách đây
mục cha
commit
f08726fc3d
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      www/local-notification.js

+ 2 - 3
www/local-notification.js

@@ -21,11 +21,10 @@ LocalNotification.prototype = {
         var defaults = {
             date:       false,
             message:    '',
-            hasAction:  true,
-            action:     'View',
+            title:      '',
             badge:      0,
             id:         0,
-            sound:      '',
+            sound:      '', // nur iOS
             background: '',
             foreground: ''
         };