Update App.js

This commit is contained in:
marcosrdz 2020-12-25 05:01:39 -05:00
parent 44d1575848
commit fb43dee1e8

2
App.js
View File

@ -181,7 +181,6 @@ const App = () => {
},
}),
);
await Notifications.clearStoredNotifications();
}
// no delay (1ms) as we don't need to wait for transaction propagation. 500ms is a delay to wait for the navigation
@ -189,6 +188,7 @@ const App = () => {
} else {
console.log('could not find wallet while processing push notification tap, NOP');
}
await Notifications.clearStoredNotifications();
}
// TODO: if we are here - we did not act upon any push, so we need to iterate over _not tapped_ pushes