|
|
|
@ -325,7 +325,6 @@ App.prototype.renderPrimary = function () { |
|
|
|
|
return h(SendTransactionScreen, {key: 'send-transaction'}) |
|
|
|
|
|
|
|
|
|
case 'confTx': |
|
|
|
|
this.clearNotifications() |
|
|
|
|
return h(ConfirmTxScreen, {key: 'confirm-tx'}) |
|
|
|
|
|
|
|
|
|
case 'config': |
|
|
|
@ -356,11 +355,3 @@ App.prototype.toggleMetamaskActive = function () { |
|
|
|
|
this.props.dispatch(actions.lockMetamask(false)) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
App.prototype.clearNotifications = function () { |
|
|
|
|
chrome.notifications.getAll(function (object) { |
|
|
|
|
for (let notification in object){ |
|
|
|
|
chrome.notifications.clear(notification) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|