Skip to content

Commit

Permalink
fix: replace BLOCKED to DENIED enum value
Browse files Browse the repository at this point in the history
  • Loading branch information
alexruzenhack committed Feb 1, 2024
1 parent 1c331bf commit f160be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sagas/pushNotification.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ export function* loadWallet() {
*/
const hasPostNotificationAuthorization = async () => {
let status = await messaging().hasPermission();
if (status === messaging.AuthorizationStatus.BLOCKED) {
if (status === messaging.AuthorizationStatus.DENIED) {
log.debug('Device not authorized to send push notification and blocked to ask permission.');
return false;
}
Expand Down

0 comments on commit f160be5

Please sign in to comment.