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

20 lines
481 B
TypeScript

// Metro module 16646 (f16647).
import { createApexExperiment } from "../../experiments/apex/index";
const apexExperiment = createApexExperiment({
name: "2025-10-clear-channel-notifications-on-app-foreground-ios",
kind: "user",
defaultConfig: {
enabled: false
},
variations: {
1: {
enabled: true
}
}
});
export function shouldClearChannelNotificationsOnAppForeground(a0) {
return apexExperiment.getConfig({
location: a0.location
}).enabled;
}