19 lines
1 KiB
TypeScript
19 lines
1 KiB
TypeScript
// Module ID: 14478
|
|
// Function ID: 14479
|
|
// Name: onFriendAnniversaryNotificationSettingsChanged
|
|
// Dependencies: [676, 3833, 3866, 698, 2]
|
|
// Exports: onFriendAnniversaryNotificationSettingsChanged
|
|
|
|
// Module 14478 (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(3866) /* 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);
|
|
};
|