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

20 lines
1 KiB
TypeScript
Raw Normal View History

2026-07-21 22:01:30 +00:00
// Module ID: 14218
// Function ID: 107511
2026-07-20 16:05:17 +00:00
// Name: onProfileUpdatesNotificationSettingsChanged
// Dependencies: []
// Exports: onProfileUpdatesNotificationSettingsChanged
2026-07-21 22:01:30 +00:00
// Module 14218 (onProfileUpdatesNotificationSettingsChanged)
2026-07-20 16:05:17 +00:00
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);
};