mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 23:27:26 +01:00
Update App.js
This commit is contained in:
parent
4cfe6845f2
commit
5a0121c2a5
1 changed files with 4 additions and 1 deletions
5
App.js
5
App.js
|
@ -64,7 +64,10 @@ const App = () => {
|
|||
},
|
||||
});
|
||||
|
||||
const fetchWalletTransactionsInReceivedNotification = payload => {
|
||||
const fetchWalletTransactionsInReceivedNotification = notification => {
|
||||
const payload = Object.assign({}, notification, notification.data);
|
||||
if (notification.data && notification.data.data) Object.assign(payload, notification.data.data);
|
||||
delete payload.data;
|
||||
if (payload) {
|
||||
let wallet;
|
||||
switch (+payload.type) {
|
||||
|
|
Loading…
Add table
Reference in a new issue