1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/app/selectors
Mark Stacey b98b0b6d01
Fix missing app header on Home screen (#9498)
The app header would sometimes mistakenly not get rendered while on the
Home screen. This could happen when a permission request was made while
the UI was open, to either the browser action popup or the fullscreen
UI.

This was caused by faulty logic in the top-level router component. It
would hide the app header if there was a pending permission request,
presumably because the author assumed that a redirect to the permission
flow would shortly follow. This redirect only happens on mount though,
not if the UI was already open when the permission request was
submitted.

The intent of this logic was to hide a brief flash of the app header
prior to rendering the permission flow. This brief flash has now been
restored, which is unfortunate, but is better than the missing app
header bug. We can revisit a solution to removing this flash in the
future, hopefully in a manner that avoids this bug and works for all
notification UI cases.
2020-10-07 14:15:39 -02:30
..
tests Merge pull request from GHSA-c2xw-px2x-pr65 2020-10-06 15:27:02 -02:30
confirm-transaction.js Ensure token amounts are in fixed notation (#9381) 2020-09-09 22:24:11 -07:00
custom-gas.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
first-time-flow.js Consolidate send, onboarding selectors (#8501) 2020-05-04 08:22:34 -07:00
index.js Refactor token selectors (#8671) 2020-05-28 21:43:44 -03:00
permissions.js Fix missing app header on Home screen (#9498) 2020-10-07 14:15:39 -02:30
selectors.js Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
send.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
transactions.js Fix prefer-destructuring issues (#9263) 2020-08-18 17:36:58 -02:30