Files
discord-decomp/sources/modules/connections/shouldWarnConnectedAccountTwoWay.tsx
T
2026-07-27 16:20:00 +03:00

21 lines
1.4 KiB
TypeScript

/* Metro module 13477; source: modules/connections/shouldWarnConnectedAccountTwoWay.tsx; dependencies: [661, 2] */
function _fun102484(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#102484, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13667:6, offset: 0x0223e1fb, size: 182 bytes, params: 8, frame: 19
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const PlatformTypes = (require(661) /* metro dependency 661: Constants */).PlatformTypes;
const Set = global.Set;
const XBOX = PlatformTypes.XBOX;
const PLAYSTATION = PlatformTypes.PLAYSTATION;
const PLAYSTATION_STAGING = PlatformTypes.PLAYSTATION_STAGING;
const CRUNCHYROLL = PlatformTypes.CRUNCHYROLL;
const set = new Set([XBOX, PLAYSTATION, PLAYSTATION_STAGING, CRUNCHYROLL]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/connections/shouldWarnConnectedAccountTwoWay.tsx');
exports.default = shouldWarnConnectedAccountTwoWay;
}
function shouldWarnConnectedAccountTwoWay(a0) { // fn#102485, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13667:290, offset: 0x0223e2b1, size: 36 bytes, params: 2, frame: 12
const binding = env0_0;
return binding.has(a0.type) && a0.twoWayLink;
}