Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,47 @@
|
||||
/* Metro module 10159; source: modules/game_update/native/GameUpdatePlatformIcon.tsx; dependencies: [31, 33, 9573, 10160, 9986, 10162, 10164, 8990, 10166, 2] */
|
||||
function _fun79167(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79167, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10345:6, offset: 0x01e478d1, size: 131 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const env0_2 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/game_update/native/GameUpdatePlatformIcon.tsx');
|
||||
exports.GameUpdatePlatformIcon = GameUpdatePlatformIcon;
|
||||
}
|
||||
|
||||
function GameUpdatePlatformIcon({platform, size, color}) { // fn#79168, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10345:230, offset: 0x01e47954, size: 537 bytes, params: 2, frame: 17
|
||||
size = size === undefined ? 'xs' : size;
|
||||
const PlatformType = (require(9573) /* metro dependency 9573: PlatformType */).PlatformType;
|
||||
const DESKTOP = PlatformType.DESKTOP;
|
||||
if (DESKTOP === platform) {
|
||||
const ScreenIcon = (require(10160) /* metro dependency 10160: ScreenIcon */).ScreenIcon;
|
||||
return <ScreenIcon size={size} color={color} />;
|
||||
}
|
||||
const XBOX = PlatformType.XBOX;
|
||||
if (XBOX === platform) {
|
||||
const XboxNeutralIcon = (require(9986) /* metro dependency 9986: XboxNeutralIcon */).XboxNeutralIcon;
|
||||
return <XboxNeutralIcon size={size} color={color} />;
|
||||
}
|
||||
const PLAYSTATION = PlatformType.PLAYSTATION;
|
||||
if (PLAYSTATION === platform) {
|
||||
const PlaystationNeutralIcon = (require(10162) /* metro dependency 10162: PlaystationNeutralIcon */).PlaystationNeutralIcon;
|
||||
return <PlaystationNeutralIcon size={size} color={color} />;
|
||||
}
|
||||
const NINTENDO = PlatformType.NINTENDO;
|
||||
if (NINTENDO === platform) {
|
||||
const NintendoSwitchNeutralIcon = (require(10164) /* metro dependency 10164: NintendoSwitchNeutralIcon */).NintendoSwitchNeutralIcon;
|
||||
return <NintendoSwitchNeutralIcon size={size} color={color} />;
|
||||
}
|
||||
const ANDROID = PlatformType.ANDROID;
|
||||
if (ANDROID === platform) {
|
||||
const MobilePhoneIcon = (require(8990) /* metro dependency 8990: MobilePhoneIcon */).MobilePhoneIcon;
|
||||
return <MobilePhoneIcon size={size} color={color} />;
|
||||
}
|
||||
const IOS = PlatformType.IOS;
|
||||
if (IOS === platform) {
|
||||
const AppleNeutralIcon = (require(10166) /* metro dependency 10166: AppleNeutralIcon */).AppleNeutralIcon;
|
||||
return <AppleNeutralIcon size={size} color={color} />;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user