mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-24 07:28:07 +01:00
Update notifications.js
This commit is contained in:
parent
3cb2f40832
commit
5bf887239f
1 changed files with 0 additions and 1 deletions
|
@ -185,7 +185,6 @@ export const setLevels = async levelAll => {
|
|||
|
||||
if (!levelAll) {
|
||||
console.debug('Disabling notifications and abandoning permissions...');
|
||||
PushNotification.abandonPermissions();
|
||||
PushNotification.removeAllDeliveredNotifications();
|
||||
await AsyncStorage.setItem(NOTIFICATIONS_NO_AND_DONT_ASK_FLAG, 'true'); // Mark as disabled by user
|
||||
await AsyncStorage.removeItem(PUSH_TOKEN);
|
||||
|
|
Loading…
Add table
Reference in a new issue