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
5a0121c2a5
commit
0121b8ed82
1 changed files with 14 additions and 16 deletions
2
App.js
2
App.js
|
@ -68,7 +68,6 @@ const App = () => {
|
||||||
const payload = Object.assign({}, notification, notification.data);
|
const payload = Object.assign({}, notification, notification.data);
|
||||||
if (notification.data && notification.data.data) Object.assign(payload, notification.data.data);
|
if (notification.data && notification.data.data) Object.assign(payload, notification.data.data);
|
||||||
delete payload.data;
|
delete payload.data;
|
||||||
if (payload) {
|
|
||||||
let wallet;
|
let wallet;
|
||||||
switch (+payload.type) {
|
switch (+payload.type) {
|
||||||
case 2:
|
case 2:
|
||||||
|
@ -84,7 +83,6 @@ const App = () => {
|
||||||
const walletID = wallet.getID();
|
const walletID = wallet.getID();
|
||||||
fetchAndSaveWalletTransactions(walletID);
|
fetchAndSaveWalletTransactions(walletID);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const openSettings = () => {
|
const openSettings = () => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue