From 6316a022ea8d9849ad46d471bd18d8c7a6f62c4b Mon Sep 17 00:00:00 2001 From: Kamil Owczarz Date: Mon, 20 Nov 2023 16:26:22 +0100 Subject: [PATCH] Nit fix --- src/libs/actions/PushNotification.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libs/actions/PushNotification.ts b/src/libs/actions/PushNotification.ts index 1280b934989b..888892fdc188 100644 --- a/src/libs/actions/PushNotification.ts +++ b/src/libs/actions/PushNotification.ts @@ -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; }, });