decord/source/modules/notifications/profile_updates/ProfileUpdatesNotificationUtils.tsx
2026-07-21 22:01:30 +00:00

19 lines
1 KiB
TypeScript

// Module ID: 14218
// Function ID: 107511
// Name: onProfileUpdatesNotificationSettingsChanged
// Dependencies: []
// Exports: onProfileUpdatesNotificationSettingsChanged
// Module 14218 (onProfileUpdatesNotificationSettingsChanged)
let closure_3 = require(dependencyMap[0]).NotificationSettingsUpdateType;
const AnalyticEvents = require(dependencyMap[1]).AnalyticEvents;
const _module = require(dependencyMap[4]);
const result = _module.fileFinishedImporting("modules/notifications/profile_updates/ProfileUpdatesNotificationUtils.tsx");
export const onProfileUpdatesNotificationSettingsChanged = function onProfileUpdatesNotificationSettingsChanged(profile_updates_notifications) {
const EnableProfileUpdatesNotifications = require(dependencyMap[2]).EnableProfileUpdatesNotifications;
EnableProfileUpdatesNotifications.updateSetting(profile_updates_notifications);
let obj = importDefault(dependencyMap[3]);
obj = { update_type: constants.ACCOUNT, profile_updates_notifications };
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
};