diff options
author | kumavis <aaron@kumavis.me> | 2016-06-25 03:48:52 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2016-06-25 03:48:52 +0800 |
commit | eb1b9d027fad9cf63bf5fea75b4e40b17d0cd7ee (patch) | |
tree | 4b188f7b5e915e037f62f4c9511bfe4a913eb3e8 /app | |
parent | d3a8f3eebe3605dc4a0895dcbc9ecbc75301fcb5 (diff) | |
download | dexon-wallet-eb1b9d027fad9cf63bf5fea75b4e40b17d0cd7ee.tar.gz dexon-wallet-eb1b9d027fad9cf63bf5fea75b4e40b17d0cd7ee.tar.zst dexon-wallet-eb1b9d027fad9cf63bf5fea75b4e40b17d0cd7ee.zip |
breakout pending-tx-details
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/notifications.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/scripts/lib/notifications.js b/app/scripts/lib/notifications.js index 5762fd26..ce39c93a 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(), |