13 lines
622 B
TypeScript
13 lines
622 B
TypeScript
// Metro module 14473 (f14474).
|
|
import { NotificationSettingsUpdateType } from "../NotificationConstants";
|
|
import { AnalyticEvents } from "../../../Constants";
|
|
import { EnableUpcomingServerEventNotifications } from "../../user_settings/UserSettings";
|
|
import AnalyticsUtils from "../../../utils/AnalyticsUtils";
|
|
export function onUpcomingServerEventNotificationSettingsChanged(a0) {
|
|
EnableUpcomingServerEventNotifications.updateSetting(a0);
|
|
AnalyticsUtils.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, {
|
|
update_type: NotificationSettingsUpdateType.ACCOUNT,
|
|
upcoming_server_event_notifications: a0
|
|
});
|
|
}
|