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

20 lines
1 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 14409
// Function ID: 110186
2026-07-20 16:05:17 +00:00
// Name: onSummaryReminderNotificationSettingsChanged
2026-07-25 08:10:48 +00:00
// Dependencies: [3771, 653, 3804, 675, 2]
2026-07-20 16:05:17 +00:00
// Exports: onSummaryReminderNotificationSettingsChanged
2026-07-27 11:26:19 +00:00
// Module 14409 (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-25 08:10:48 +00:00
const EnableSummaryReminderNotifications = require(3804) /* 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);
};