decord/source/modules/premium/FriendAnniversaryNotificationUtils.tsx
2026-08-08 06:10:11 +00:00

19 lines
1 KiB
TypeScript

// Module ID: 14683
// Function ID: 14684
// Name: onFriendAnniversaryNotificationSettingsChanged
// Dependencies: [676, 3941, 3974, 698, 2]
// Exports: onFriendAnniversaryNotificationSettingsChanged
// Module 14683 (onFriendAnniversaryNotificationSettingsChanged)
import { AnalyticEvents } from "ME";
import { NotificationSettingsUpdateType as closure_4 } from "AccountNotificationFlags";
const result = require("explicitContentFromProto").fileFinishedImporting("modules/premium/FriendAnniversaryNotificationUtils.tsx");
export const onFriendAnniversaryNotificationSettingsChanged = function onFriendAnniversaryNotificationSettingsChanged(friend_anniversary_notifications) {
const EnableFriendAnniversaryNotifications = require(3974) /* explicitContentFromProto */.EnableFriendAnniversaryNotifications;
EnableFriendAnniversaryNotifications.updateSetting(friend_anniversary_notifications);
let obj = importDefault(698);
obj = { update_type: constants.ACCOUNT, friend_anniversary_notifications };
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
};