Skip to content

Commit

Permalink
test(suite): test new device renders
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroslavProchazka committed Dec 17, 2024
1 parent b03b6c3 commit dcb68ae
Show file tree
Hide file tree
Showing 16 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ export const DeviceAnimation = forwardRef<HTMLVideoElement, DeviceAnimationProps

// Animations on following devices are transparent.
const themeSuffix = [
DeviceModelInternal.T1B1,
DeviceModelInternal.T2B1,
DeviceModelInternal.T2T1,
DeviceModelInternal.T3B1,
DeviceModelInternal.T3T1,
DeviceModelInternal.T3W1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,13 @@ export const RotateDeviceImage = ({

const isDeviceImageRotating =
deviceModel &&
[DeviceModelInternal.T2B1, DeviceModelInternal.T3B1, DeviceModelInternal.T3T1].includes(
deviceModel,
);
[
DeviceModelInternal.T1B1,
DeviceModelInternal.T2T1,
DeviceModelInternal.T2B1,
DeviceModelInternal.T3B1,
DeviceModelInternal.T3T1,
].includes(deviceModel);

return (
<>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit dcb68ae

Please sign in to comment.