Skip to content

Commit

Permalink
Nit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kowczarz committed Nov 20, 2023
1 parent 6debf1b commit 6316a02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libs/actions/PushNotification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import * as Device from './Device';
let isUserOptedInToPushNotifications = false;
Onyx.connect({
key: ONYXKEYS.PUSH_NOTIFICATIONS_ENABLED,
callback: (val) => {
if (val === null) {
callback: (value) => {
if (value === null) {
return;
}
isUserOptedInToPushNotifications = val;
isUserOptedInToPushNotifications = value;
},
});

Expand Down

0 comments on commit 6316a02

Please sign in to comment.