decord/source/modules/notifications/summary_reminder/SummaryReminderNotificationUtils.tsx

20 lines
1 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 14397
// Function ID: 110054
2026-07-20 16:05:17 +00:00
// Name: onSummaryReminderNotificationSettingsChanged
2026-07-23 10:11:24 +00:00
// Dependencies: [3770, 653, 3803, 675, 2]
2026-07-20 16:05:17 +00:00
// Exports: onSummaryReminderNotificationSettingsChanged
2026-07-24 07:16:23 +00:00
// Module 14397 (onSummaryReminderNotificationSettingsChanged)
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/summary_reminder/SummaryReminderNotificationUtils.tsx");
2026-07-20 16:05:17 +00:00
export const onSummaryReminderNotificationSettingsChanged = function onSummaryReminderNotificationSettingsChanged(summary_reminder_notifications) {
2026-07-23 10:11:24 +00:00
const EnableSummaryReminderNotifications = require(3803) /* explicitContentFromProto */.EnableSummaryReminderNotifications;
2026-07-20 16:05:17 +00:00
EnableSummaryReminderNotifications.updateSetting(summary_reminder_notifications);
2026-07-23 10:11:24 +00:00
let obj = importDefault(675);
2026-07-20 16:05:17 +00:00
obj = { update_type: constants.ACCOUNT, summary_reminder_notifications };
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
};