19 lines
1 KiB
TypeScript
19 lines
1 KiB
TypeScript
// Module ID: 14409
|
|
// Function ID: 110186
|
|
// Name: onSummaryReminderNotificationSettingsChanged
|
|
// Dependencies: [3771, 653, 3804, 675, 2]
|
|
// Exports: onSummaryReminderNotificationSettingsChanged
|
|
|
|
// Module 14409 (onSummaryReminderNotificationSettingsChanged)
|
|
import { NotificationSettingsUpdateType as closure_3 } from "AccountNotificationFlags";
|
|
import { AnalyticEvents } from "ME";
|
|
|
|
const result = require("explicitContentFromProto").fileFinishedImporting("modules/notifications/summary_reminder/SummaryReminderNotificationUtils.tsx");
|
|
|
|
export const onSummaryReminderNotificationSettingsChanged = function onSummaryReminderNotificationSettingsChanged(summary_reminder_notifications) {
|
|
const EnableSummaryReminderNotifications = require(3804) /* explicitContentFromProto */.EnableSummaryReminderNotifications;
|
|
EnableSummaryReminderNotifications.updateSetting(summary_reminder_notifications);
|
|
let obj = importDefault(675);
|
|
obj = { update_type: constants.ACCOUNT, summary_reminder_notifications };
|
|
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
|
|
};
|