From eb1b9d027fad9cf63bf5fea75b4e40b17d0cd7ee Mon Sep 17 00:00:00 2001 From: kumavis Date: Fri, 24 Jun 2016 12:48:52 -0700 Subject: breakout pending-tx-details --- app/scripts/lib/notifications.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'app/scripts') diff --git a/app/scripts/lib/notifications.js b/app/scripts/lib/notifications.js index 5762fd26b..ce39c93ac 100644 --- a/app/scripts/lib/notifications.js +++ b/app/scripts/lib/notifications.js @@ -4,7 +4,7 @@ const findDOMNode = require('react-dom').findDOMNode const render = require('react-dom').render const h = require('react-hyperscript') const uiUtils = require('../../../ui/app/util') -const renderPendingTx = require('../../../ui/app/components/pending-tx').prototype.renderGeneric +const renderPendingTx = require('../../../ui/app/components/pending-tx-details').prototype.renderGeneric const MetaMaskUiCss = require('../../../ui/css') var notificationHandlers = {} @@ -64,7 +64,7 @@ function createTxNotification (opts) { var id = createId() chrome.notifications.create(id, { type: 'image', - // requireInteraction: true, + requireInteraction: true, iconUrl: '/images/icon-128.png', imageUrl: imageUrl, title: opts.title, @@ -113,8 +113,7 @@ function createMsgNotification (opts) { function renderTransactionNotificationSVG(opts, cb){ var state = { - nonInteractive: true, - inlineIdenticons: true, + imageifyIdenticons: false, txData: { txParams: opts.txParams, time: (new Date()).getTime(), -- cgit v1.2.3