2026-07-27 11:26:19 +00:00
|
|
|
// Module ID: 14402
|
|
|
|
|
// Function ID: 110165
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: onProfileUpdatesNotificationSettingsChanged
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [3771, 653, 3804, 675, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: onProfileUpdatesNotificationSettingsChanged
|
|
|
|
|
|
2026-07-27 11:26:19 +00:00
|
|
|
// Module 14402 (onProfileUpdatesNotificationSettingsChanged)
|
2026-07-23 10:11:24 +00:00
|
|
|
import { NotificationSettingsUpdateType as closure_3 } from "AccountNotificationFlags";
|
|
|
|
|
import { AnalyticEvents } from "ME";
|
|
|
|
|
|
|
|
|
|
const result = require("explicitContentFromProto").fileFinishedImporting("modules/notifications/profile_updates/ProfileUpdatesNotificationUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const onProfileUpdatesNotificationSettingsChanged = function onProfileUpdatesNotificationSettingsChanged(profile_updates_notifications) {
|
2026-07-25 08:10:48 +00:00
|
|
|
const EnableProfileUpdatesNotifications = require(3804) /* explicitContentFromProto */.EnableProfileUpdatesNotifications;
|
2026-07-20 16:05:17 +00:00
|
|
|
EnableProfileUpdatesNotifications.updateSetting(profile_updates_notifications);
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = importDefault(675);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { update_type: constants.ACCOUNT, profile_updates_notifications };
|
|
|
|
|
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
|
|
|
|
|
};
|