19 lines
945 B
TypeScript
19 lines
945 B
TypeScript
// Module ID: 14204
|
|
// Function ID: 107445
|
|
// Name: onGoLiveNotificationSettingsChanged
|
|
// Dependencies: []
|
|
// Exports: onGoLiveNotificationSettingsChanged
|
|
|
|
// Module 14204 (onGoLiveNotificationSettingsChanged)
|
|
const AnalyticEvents = require(dependencyMap[0]).AnalyticEvents;
|
|
let closure_4 = require(dependencyMap[1]).NotificationSettingsUpdateType;
|
|
const _module = require(dependencyMap[4]);
|
|
const result = _module.fileFinishedImporting("modules/go_live/GoLiveNotificationUtils.tsx");
|
|
|
|
export const onGoLiveNotificationSettingsChanged = function onGoLiveNotificationSettingsChanged(go_live_notifications) {
|
|
const StreamNotificationsEnabled = require(dependencyMap[2]).StreamNotificationsEnabled;
|
|
StreamNotificationsEnabled.updateSetting(go_live_notifications);
|
|
let obj = importDefault(dependencyMap[3]);
|
|
obj = { update_type: constants.ACCOUNT, go_live_notifications };
|
|
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
|
|
};
|