Files
discord-decomp/modules/go_live/GoLiveNotificationUtils.tsx
T
2026-11-01 12:12:55 +02:00

13 lines
576 B
TypeScript

// Metro module 14457 (f14458).
import { AnalyticEvents } from "../../Constants";
import { NotificationSettingsUpdateType } from "../notifications/NotificationConstants";
import { StreamNotificationsEnabled } from "../user_settings/UserSettings";
import AnalyticsUtils from "../../utils/AnalyticsUtils";
export function onGoLiveNotificationSettingsChanged(a0) {
StreamNotificationsEnabled.updateSetting(a0);
AnalyticsUtils.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, {
update_type: NotificationSettingsUpdateType.ACCOUNT,
go_live_notifications: a0
});
}