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

13 lines
626 B
TypeScript

// Metro module 14465 (f14466).
import { NotificationSettingsUpdateType } from "../NotificationConstants";
import { AnalyticEvents } from "../../../Constants";
import { EnableFriendGamingActivityNotifications } from "../../user_settings/UserSettings";
import AnalyticsUtils from "../../../utils/AnalyticsUtils";
export function onFriendGamingActivityNotificationSettingsChanged(a0) {
EnableFriendGamingActivityNotifications.updateSetting(a0);
AnalyticsUtils.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, {
update_type: NotificationSettingsUpdateType.ACCOUNT,
friend_gaming_activity_notifications: a0
});
}