Skip to content

Commit 8d53b16

Browse files
fix(web): reuse fold glyphs for Android controls
1 parent b3a5290 commit 8d53b16

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/web/src/components/device/DeviceAndroidFoldControls.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type { DeviceHubAccess } from "@t3tools/client-runtime/state/deviceHubAccess";
2-
import { FoldVertical, UnfoldVertical } from "lucide-react";
32
import { useEffect, useRef, useState } from "react";
43
import { Button } from "~/components/ui/button";
54
import { Tooltip, TooltipPopup, TooltipTrigger } from "~/components/ui/tooltip";
@@ -9,6 +8,7 @@ import {
98
type AndroidFoldPosture,
109
type AndroidFoldState,
1110
} from "./deviceFold";
11+
import { DeviceDuoGlyph } from "./DeviceDuoGlyph";
1212

1313
/** Capability comes from the emulator, not its AVD name or screen dimensions. */
1414
export function DeviceAndroidFoldControls(props: {
@@ -91,7 +91,7 @@ export function DeviceAndroidFoldControls(props: {
9191
/>
9292
}
9393
>
94-
<FoldVertical />
94+
<DeviceDuoGlyph pose="closed" />
9595
</TooltipTrigger>
9696
<TooltipPopup side="left">Fold device</TooltipPopup>
9797
</Tooltip>
@@ -108,7 +108,7 @@ export function DeviceAndroidFoldControls(props: {
108108
/>
109109
}
110110
>
111-
<UnfoldVertical />
111+
<DeviceDuoGlyph pose="open" />
112112
</TooltipTrigger>
113113
<TooltipPopup side="left">Unfold device</TooltipPopup>
114114
</Tooltip>

0 commit comments

Comments
 (0)