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

20 lines
1 KiB
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 14475
// Function ID: 14476
2026-07-20 16:05:17 +00:00
// Name: onSummaryReminderNotificationSettingsChanged
2026-07-29 08:29:29 +00:00
// Dependencies: [3829, 676, 3862, 698, 2]
2026-07-20 16:05:17 +00:00
// Exports: onSummaryReminderNotificationSettingsChanged
2026-07-29 08:29:29 +00:00
// Module 14475 (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-29 08:29:29 +00:00
const EnableSummaryReminderNotifications = require(3862) /* explicitContentFromProto */.EnableSummaryReminderNotifications;
2026-07-20 16:05:17 +00:00
EnableSummaryReminderNotifications.updateSetting(summary_reminder_notifications);
2026-07-29 08:29:29 +00:00
let obj = importDefault(698);
2026-07-20 16:05:17 +00:00
obj = { update_type: constants.ACCOUNT, summary_reminder_notifications };
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
};