// Module ID: 15775 // Function ID: 15776 // Name: FriendAnniversaryNotificationUtils // Dependencies: [1078, 4444, 2023, 1245, 2] // Exports: onFriendAnniversaryNotificationSettingsChanged // Module 15775 (FriendAnniversaryNotificationUtils) import Constants from "Constants" /* 1078 */; import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1245 */; import UserSettings from "UserSettings" /* 2023 */; import NotificationConstants from "NotificationConstants" /* 4444 */; import size from "module_2" /* 2 */; const AnalyticEvents = Constants.AnalyticEvents; const constants = NotificationConstants.NotificationSettingsUpdateType; const result = size.fileFinishedImporting("modules/premium/FriendAnniversaryNotificationUtils.tsx"); export const onFriendAnniversaryNotificationSettingsChanged = function onFriendAnniversaryNotificationSettingsChanged(friend_anniversary_notifications) { const EnableFriendAnniversaryNotifications = UserSettings.EnableFriendAnniversaryNotifications; EnableFriendAnniversaryNotifications.updateSetting(friend_anniversary_notifications); AnalyticsUtilsDefault.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, { update_type: constants.ACCOUNT, friend_anniversary_notifications }); };