2026-09-16 07:03:15 +00:00
|
|
|
// Module ID: 15621
|
|
|
|
|
// Function ID: 15622
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: ProfileUpdatesNotificationUtils
|
2026-09-16 07:03:15 +00:00
|
|
|
// Dependencies: [4289, 1074, 1936, 1241, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: onProfileUpdatesNotificationSettingsChanged
|
|
|
|
|
|
2026-09-16 07:03:15 +00:00
|
|
|
// Module 15621 (ProfileUpdatesNotificationUtils)
|
2026-09-10 05:38:07 +00:00
|
|
|
import Constants from "Constants" /* 1074 */;
|
2026-09-15 14:23:42 +00:00
|
|
|
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1241 */;
|
|
|
|
|
import UserSettings from "UserSettings" /* 1936 */;
|
2026-09-16 07:03:15 +00:00
|
|
|
import NotificationConstants from "NotificationConstants" /* 4289 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const constants = NotificationConstants.NotificationSettingsUpdateType;
|
|
|
|
|
const AnalyticEvents = Constants.AnalyticEvents;
|
|
|
|
|
const result = size.fileFinishedImporting("modules/notifications/profile_updates/ProfileUpdatesNotificationUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const onProfileUpdatesNotificationSettingsChanged = function onProfileUpdatesNotificationSettingsChanged(profile_updates_notifications) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const EnableProfileUpdatesNotifications = UserSettings.EnableProfileUpdatesNotifications;
|
2026-07-20 16:05:17 +00:00
|
|
|
EnableProfileUpdatesNotifications.updateSetting(profile_updates_notifications);
|
2026-09-10 05:38:07 +00:00
|
|
|
AnalyticsUtilsDefault.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, { update_type: constants.ACCOUNT, profile_updates_notifications });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|