Add system notification icon

This commit is contained in:
Yemel Jardi 2014-07-17 21:23:09 -03:00
parent 2c1c07e185
commit f1a2b357db
2 changed files with 1 additions and 1 deletions

BIN
img/notification.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -203,7 +203,7 @@ factory('notification', ['$timeout',
// Movile notification
window.navigator.vibrate([200,100,200]);
if (document.hidden && (type == 'info' || type == 'funds')) {
new window.Notification(title, {body: content});
new window.Notification(title, {body: content, icon:'img/notification.png'});
}
this.save();