Files
discord-decomp/sources/modules/themes/experiments/MobileVisualRefreshExperiment.tsx
T
2026-07-27 16:20:00 +03:00

23 lines
1.8 KiB
TypeScript

/* Metro module 1357; source: modules/themes/experiments/MobileVisualRefreshExperiment.tsx; dependencies: [1358, 2] */
function _fun15570(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#15570, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1484:6, offset: 0x00e363dd, size: 254 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = importDefault(1358) /* metro dependency 1358: ApexExperiment */;
value = value({'kind': 'user', 'name': '2026-02-mobile-visual-refresh', defaultConfig: {'enabled': false,
'chatInputFloating': false, 'chatInputLegacySendButton': false}, variations: {[0]: {'enabled': false,
'chatInputFloating': false, 'chatInputLegacySendButton': false}, [1]: {'enabled': true,
'chatInputFloating': false, 'chatInputLegacySendButton': false}, [2]: {'enabled': true,
'chatInputFloating': true, 'chatInputLegacySendButton': false}, [3]: {'enabled': true,
'chatInputFloating': true, 'chatInputLegacySendButton': false}, [4]: {'enabled': true,
'chatInputFloating': true, 'chatInputLegacySendButton': true}}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/themes/experiments/MobileVisualRefreshExperiment.tsx');
exports.default = useIsMobileVisualRefreshExperimentEnabled;
exports.MobileVisualRefreshExperiment = value;
exports.useMobileVisualRefreshConfig = useMobileVisualRefreshConfig;
exports.isMobileVisualRefreshEnabled = isMobileVisualRefreshEnabled;
exports.resolveRefreshToken = function(a0, a1) {
return a0.resolve({enabledExperiments: a1 ? ['mobile-visual-refresh'] : []});
};
}