// Module ID: 15621 // Function ID: 15622 // Name: ProfileUpdatesNotificationUtils // Dependencies: [4289, 1074, 1936, 1241, 2] // Exports: onProfileUpdatesNotificationSettingsChanged // Module 15621 (ProfileUpdatesNotificationUtils) import Constants from "Constants" /* 1074 */; import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1241 */; import UserSettings from "UserSettings" /* 1936 */; import NotificationConstants from "NotificationConstants" /* 4289 */; import size from "module_2" /* 2 */; const constants = NotificationConstants.NotificationSettingsUpdateType; const AnalyticEvents = Constants.AnalyticEvents; const result = size.fileFinishedImporting("modules/notifications/profile_updates/ProfileUpdatesNotificationUtils.tsx"); export const onProfileUpdatesNotificationSettingsChanged = function onProfileUpdatesNotificationSettingsChanged(profile_updates_notifications) { const EnableProfileUpdatesNotifications = UserSettings.EnableProfileUpdatesNotifications; EnableProfileUpdatesNotifications.updateSetting(profile_updates_notifications); AnalyticsUtilsDefault.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, { update_type: constants.ACCOUNT, profile_updates_notifications }); };