decord/source/modules/premium/FriendAnniversaryNotificationUtils.tsx
2026-07-30 10:14:41 +00:00

19 lines
1 KiB
TypeScript

// Module ID: 14455
// Function ID: 14456
// Name: onFriendAnniversaryNotificationSettingsChanged
// Dependencies: [676, 3829, 3862, 698, 2]
// Exports: onFriendAnniversaryNotificationSettingsChanged
// Module 14455 (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(3862) /* 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);
};