decord/source/modules/notifications/profile_updates/ProfileUpdatesNotificationUtils.tsx

20 lines
1 KiB
TypeScript
Raw Normal View History

2026-08-10 06:55:34 +00:00
// Module ID: 14694
// Function ID: 14695
2026-07-20 16:05:17 +00:00
// Name: onProfileUpdatesNotificationSettingsChanged
2026-08-07 06:50:47 +00:00
// Dependencies: [3941, 676, 3974, 698, 2]
2026-07-20 16:05:17 +00:00
// Exports: onProfileUpdatesNotificationSettingsChanged
2026-08-10 06:55:34 +00:00
// Module 14694 (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-08-07 06:50:47 +00:00
const EnableProfileUpdatesNotifications = require(3974) /* explicitContentFromProto */.EnableProfileUpdatesNotifications;
2026-07-20 16:05:17 +00:00
EnableProfileUpdatesNotifications.updateSetting(profile_updates_notifications);
2026-07-29 08:29:29 +00:00
let obj = importDefault(698);
2026-07-20 16:05:17 +00:00
obj = { update_type: constants.ACCOUNT, profile_updates_notifications };
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
};