aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-06-25 03:48:52 +0800
committerkumavis <aaron@kumavis.me>2016-06-25 03:48:52 +0800
commiteb1b9d027fad9cf63bf5fea75b4e40b17d0cd7ee (patch)
tree4b188f7b5e915e037f62f4c9511bfe4a913eb3e8 /app
parentd3a8f3eebe3605dc4a0895dcbc9ecbc75301fcb5 (diff)
downloadtangerine-wallet-browser-eb1b9d027fad9cf63bf5fea75b4e40b17d0cd7ee.tar
tangerine-wallet-browser-eb1b9d027fad9cf63bf5fea75b4e40b17d0cd7ee.tar.gz
tangerine-wallet-browser-eb1b9d027fad9cf63bf5fea75b4e40b17d0cd7ee.tar.bz2
tangerine-wallet-browser-eb1b9d027fad9cf63bf5fea75b4e40b17d0cd7ee.tar.lz
tangerine-wallet-browser-eb1b9d027fad9cf63bf5fea75b4e40b17d0cd7ee.tar.xz
tangerine-wallet-browser-eb1b9d027fad9cf63bf5fea75b4e40b17d0cd7ee.tar.zst
tangerine-wallet-browser-eb1b9d027fad9cf63bf5fea75b4e40b17d0cd7ee.zip
breakout pending-tx-details
Diffstat (limited to 'app')
-rw-r--r--app/scripts/lib/notifications.js7
1 files changed, 3 insertions, 4 deletions
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(),