File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1289,15 +1289,13 @@ const addAppInstalledEvent = () => {
12891289 */
12901290function onInstall ( ) {
12911291 log . debug ( 'First install detected' ) ;
1292- if ( process . env . IN_TEST ) {
1293- addAppInstalledEvent ( ) ;
1294- } else if ( ! process . env . METAMASK_DEBUG ) {
1292+ addAppInstalledEvent ( ) ;
1293+ if ( ! process . env . METAMASK_DEBUG ) {
12951294 // If storeAlreadyExisted is true then this is a fresh installation
12961295 // and an app installed event should be tracked.
12971296 addAppInstalledEvent ( ) ;
12981297 platform . openExtensionInBrowser ( ) ;
12991298 }
1300- onNavigateToTab ( ) ;
13011299}
13021300
13031301function onNavigateToTab ( ) {
@@ -1328,6 +1326,7 @@ function setupSentryGetStateGlobal(store) {
13281326}
13291327
13301328async function initBackground ( ) {
1329+ onNavigateToTab ( ) ;
13311330 try {
13321331 await initialize ( ) ;
13331332 if ( process . env . IN_TEST ) {
You can’t perform that action at this time.
0 commit comments