Nonmultiple notifications for batch txs

feature/default_network_editable
Thomas Huang 6 years ago
parent b8f143f1c3
commit 43f5fd0716
  1. 2
      app/scripts/background.js

@ -448,7 +448,7 @@ function setupController (initState, initLangCode) {
function triggerUi () {
extension.tabs.query({ active: true }, tabs => {
const currentlyActiveMetamaskTab = Boolean(tabs.find(tab => openMetamaskTabsIDs[tab.id]))
if (!popupIsOpen && !currentlyActiveMetamaskTab) {
if (!popupIsOpen && !currentlyActiveMetamaskTab && !notificationIsOpen) {
notificationManager.showPopup()
notificationIsOpen = true
}

Loading…
Cancel
Save