decord/source/modules/premium/FriendAnniversaryNotificationUtils.tsx
2026-08-05 07:35:12 +00:00

19 lines
1 KiB
TypeScript

// Module ID: 14559
// Function ID: 14560
// Name: onFriendAnniversaryNotificationSettingsChanged
// Dependencies: [676, 3895, 3928, 698, 2]
// Exports: onFriendAnniversaryNotificationSettingsChanged
// Module 14559 (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(3928) /* 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);
};