This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,30 @@
// Metro module 11925 (f11926).
import { PlatformType } from "../../../_bundle/Module8177";
import { ScreenIcon } from "../../../design/components/Icon/native/redesign/generated/ScreenIcon";
import { XboxNeutralIcon } from "../../../design/components/Icon/native/redesign/generated/XboxNeutralIcon";
import { PlaystationNeutralIcon } from "../../../design/components/Icon/native/redesign/generated/PlaystationNeutralIcon";
import { NintendoSwitchNeutralIcon } from "../../../design/components/Icon/native/redesign/generated/NintendoSwitchNeutralIcon";
import { MobilePhoneIcon } from "../../../design/components/Icon/native/redesign/generated/MobilePhoneIcon";
import { AppleNeutralIcon } from "../../../design/components/Icon/native/redesign/generated/AppleNeutralIcon";
export function GameUpdatePlatformIcon(props) {
const { platform: platform2, size = "xs", color } = props;
if (PlatformType.DESKTOP === platform2) {
return <ScreenIcon size={size} color={color} />;
}
if (PlatformType.XBOX === platform2) {
return <XboxNeutralIcon size={size} color={color} />;
}
if (PlatformType.PLAYSTATION === platform2) {
return <PlaystationNeutralIcon size={size} color={color} />;
}
if (PlatformType.NINTENDO === platform2) {
return <NintendoSwitchNeutralIcon size={size} color={color} />;
}
if (PlatformType.ANDROID === platform2) {
return <MobilePhoneIcon size={size} color={color} />;
}
if (PlatformType.IOS === platform2) {
return <AppleNeutralIcon size={size} color={color} />;
}
return null;
}