1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Merge pull request #211 from MetaMask/h17

notifications - remove timeout for signature requests
This commit is contained in:
Dan Finlay 2016-05-25 14:04:47 -07:00
commit b2b7e7ff7e

View File

@ -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,