Remove ineffectual close popup function (#8316)
During the initialization of the full-screen or popup UI, we attempted to close the notification popup (if it was open). This never worked (or at least hasn't in a long time). The method used to attempt closing the notification popup was `closePopup` from the `notificationManager`, which keeps track internally of the id of the notification popup window, and can close the window by using this id. However, this id is only set in the first place if the popup is opened with this specific instance of the `notificationManager`. The popup is never opened from the UI in practice; it's only opened from the background (which has its own instance of `notificationManager`). The popup id is never set for this `notificationManager` instance in the UI. It's not entirely clear that we'd always want to close the notification popup in this circumstance anyway. The user might want to open MetaMask alongside the popup to check something else.feature/default_network_editable
parent
3955a4091d
commit
1282ed774e
Loading…
Reference in new issue