Files
discord-decomp/modules/notifications/profile_updates/ProfileUpdatesNotificationUtils.tsx
T
2026-11-01 12:12:55 +02:00

13 lines
601 B
TypeScript

// Metro module 14468 (f14469).
import { NotificationSettingsUpdateType } from "../NotificationConstants";
import { AnalyticEvents } from "../../../Constants";
import { EnableProfileUpdatesNotifications } from "../../user_settings/UserSettings";
import AnalyticsUtils from "../../../utils/AnalyticsUtils";
export function onProfileUpdatesNotificationSettingsChanged(a0) {
EnableProfileUpdatesNotifications.updateSetting(a0);
AnalyticsUtils.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, {
update_type: NotificationSettingsUpdateType.ACCOUNT,
profile_updates_notifications: a0
});
}