19 lines
1 KiB
TypeScript
19 lines
1 KiB
TypeScript
// Module ID: 14568
|
|
// Function ID: 14569
|
|
// Name: onProfileUpdatesNotificationSettingsChanged
|
|
// Dependencies: [3895, 676, 3928, 698, 2]
|
|
// Exports: onProfileUpdatesNotificationSettingsChanged
|
|
|
|
// Module 14568 (onProfileUpdatesNotificationSettingsChanged)
|
|
import { NotificationSettingsUpdateType as closure_3 } from "AccountNotificationFlags";
|
|
import { AnalyticEvents } from "ME";
|
|
|
|
const result = require("explicitContentFromProto").fileFinishedImporting("modules/notifications/profile_updates/ProfileUpdatesNotificationUtils.tsx");
|
|
|
|
export const onProfileUpdatesNotificationSettingsChanged = function onProfileUpdatesNotificationSettingsChanged(profile_updates_notifications) {
|
|
const EnableProfileUpdatesNotifications = require(3928) /* explicitContentFromProto */.EnableProfileUpdatesNotifications;
|
|
EnableProfileUpdatesNotifications.updateSetting(profile_updates_notifications);
|
|
let obj = importDefault(698);
|
|
obj = { update_type: constants.ACCOUNT, profile_updates_notifications };
|
|
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
|
|
};
|