decord/source/modules/notifications/summary_reminder/SummaryReminderNotificationUtils.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

22 lines
1.2 KiB
TypeScript

// Module ID: 15628
// Function ID: 15629
// Name: SummaryReminderNotificationUtils
// Dependencies: [4289, 1074, 1936, 1241, 2]
// Exports: onSummaryReminderNotificationSettingsChanged
// Module 15628 (SummaryReminderNotificationUtils)
import Constants from "Constants" /* 1074 */;
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1241 */;
import UserSettings from "UserSettings" /* 1936 */;
import NotificationConstants from "NotificationConstants" /* 4289 */;
import size from "module_2" /* 2 */;
const constants = NotificationConstants.NotificationSettingsUpdateType;
const AnalyticEvents = Constants.AnalyticEvents;
const result = size.fileFinishedImporting("modules/notifications/summary_reminder/SummaryReminderNotificationUtils.tsx");
export const onSummaryReminderNotificationSettingsChanged = function onSummaryReminderNotificationSettingsChanged(summary_reminder_notifications) {
const EnableSummaryReminderNotifications = UserSettings.EnableSummaryReminderNotifications;
EnableSummaryReminderNotifications.updateSetting(summary_reminder_notifications);
AnalyticsUtilsDefault.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, { update_type: constants.ACCOUNT, summary_reminder_notifications });
};