decord/source/modules/premium/FriendAnniversaryNotificationUtils.tsx
2026-07-21 06:55:02 +00:00

19 lines
1 KiB
TypeScript

// Module ID: 14206
// Function ID: 107451
// Name: onFriendAnniversaryNotificationSettingsChanged
// Dependencies: []
// Exports: onFriendAnniversaryNotificationSettingsChanged
// Module 14206 (onFriendAnniversaryNotificationSettingsChanged)
const AnalyticEvents = require(dependencyMap[0]).AnalyticEvents;
let closure_4 = require(dependencyMap[1]).NotificationSettingsUpdateType;
const _module = require(dependencyMap[4]);
const result = _module.fileFinishedImporting("modules/premium/FriendAnniversaryNotificationUtils.tsx");
export const onFriendAnniversaryNotificationSettingsChanged = function onFriendAnniversaryNotificationSettingsChanged(friend_anniversary_notifications) {
const EnableFriendAnniversaryNotifications = require(dependencyMap[2]).EnableFriendAnniversaryNotifications;
EnableFriendAnniversaryNotifications.updateSetting(friend_anniversary_notifications);
let obj = importDefault(dependencyMap[3]);
obj = { update_type: constants.ACCOUNT, friend_anniversary_notifications };
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
};