|
|
@ -49,6 +49,7 @@ function createTxNotification(opts){ |
|
|
|
var id = createId() |
|
|
|
var id = createId() |
|
|
|
chrome.notifications.create(id, { |
|
|
|
chrome.notifications.create(id, { |
|
|
|
type: 'basic', |
|
|
|
type: 'basic', |
|
|
|
|
|
|
|
requireInteraction: true, |
|
|
|
iconUrl: '/images/icon-128.png', |
|
|
|
iconUrl: '/images/icon-128.png', |
|
|
|
title: opts.title, |
|
|
|
title: opts.title, |
|
|
|
message: message, |
|
|
|
message: message, |
|
|
@ -73,6 +74,7 @@ function createMsgNotification(opts){ |
|
|
|
var id = createId() |
|
|
|
var id = createId() |
|
|
|
chrome.notifications.create(id, { |
|
|
|
chrome.notifications.create(id, { |
|
|
|
type: 'basic', |
|
|
|
type: 'basic', |
|
|
|
|
|
|
|
requireInteraction: true, |
|
|
|
iconUrl: '/images/icon-128.png', |
|
|
|
iconUrl: '/images/icon-128.png', |
|
|
|
title: opts.title, |
|
|
|
title: opts.title, |
|
|
|
message: message, |
|
|
|
message: message, |
|
|
|