2026-09-07 16:44:02 +00:00
|
|
|
// Module ID: 15509
|
|
|
|
|
// Function ID: 15510
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: onProfileUpdatesNotificationSettingsChanged
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [4212, 1074, 1935, 1242, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: onProfileUpdatesNotificationSettingsChanged
|
|
|
|
|
|
2026-09-07 16:44:02 +00:00
|
|
|
// Module 15509 (onProfileUpdatesNotificationSettingsChanged)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
2026-09-05 10:56:28 +00:00
|
|
|
import ME from "ME" /* 1074 */;
|
|
|
|
|
import expandEventPropertiesDefault from "expandEventProperties" /* 1242 */;
|
|
|
|
|
import explicitContentFromProto from "explicitContentFromProto" /* 1935 */;
|
|
|
|
|
import AccountNotificationFlags from "AccountNotificationFlags" /* 4212 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
let closure_3 = AccountNotificationFlags.NotificationSettingsUpdateType;
|
|
|
|
|
const AnalyticEvents = ME.AnalyticEvents;
|
|
|
|
|
const result = set.fileFinishedImporting("modules/notifications/profile_updates/ProfileUpdatesNotificationUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const onProfileUpdatesNotificationSettingsChanged = function onProfileUpdatesNotificationSettingsChanged(profile_updates_notifications) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const EnableProfileUpdatesNotifications = explicitContentFromProto.EnableProfileUpdatesNotifications;
|
2026-07-20 16:05:17 +00:00
|
|
|
EnableProfileUpdatesNotifications.updateSetting(profile_updates_notifications);
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = expandEventPropertiesDefault;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { update_type: constants.ACCOUNT, profile_updates_notifications };
|
|
|
|
|
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
|
|
|
|
|
};
|