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

20 lines
1 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 14568
// Function ID: 14569
2026-07-20 16:05:17 +00:00
// Name: onProfileUpdatesNotificationSettingsChanged
2026-08-05 07:35:12 +00:00
// Dependencies: [3895, 676, 3928, 698, 2]
2026-07-20 16:05:17 +00:00
// Exports: onProfileUpdatesNotificationSettingsChanged
2026-08-05 07:35:12 +00:00
// Module 14568 (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-05 07:35:12 +00:00
const EnableProfileUpdatesNotifications = require(3928) /* 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);
};