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

13 lines
601 B
TypeScript

// Metro module 14470 (f14471).
import { NotificationSettingsUpdateType } from "../NotificationConstants";
import { AnalyticEvents } from "../../../Constants";
import { EnableServerTrendingNotifications } from "../../user_settings/UserSettings";
import AnalyticsUtils from "../../../utils/AnalyticsUtils";
export function onServerTrendingNotificationSettingsChanged(a0) {
EnableServerTrendingNotifications.updateSetting(a0);
AnalyticsUtils.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, {
update_type: NotificationSettingsUpdateType.ACCOUNT,
server_trending_notifications: a0
});
}