Skip to content

Commit 62ddf16

Browse files
committed
style: use fingerprint icon for webauthn
1 parent 3136f15 commit 62ddf16

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

packages/keychain/src/components/settings/signer-card.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
SheetFooter,
1212
SheetTrigger,
1313
StarknetIcon,
14-
LaptopIcon,
14+
FingerprintIcon,
1515
} from "@cartridge/ui-next";
1616
import { SignerType } from "@cartridge/utils/api/cartridge";
1717

@@ -100,8 +100,8 @@ const DeviceIcon = React.memo(({ signerType }: { signerType: SignerType }) => {
100100
return signerType === SignerType.StarknetAccount ? (
101101
<StarknetIcon size="default" className="absolute" />
102102
) : signerType === SignerType.Webauthn ? (
103-
<LaptopIcon variant="solid" size="default" className="absolute" />
103+
<FingerprintIcon size="default" className="absolute" />
104104
) : (
105-
<LaptopIcon variant="solid" size="default" className="absolute" />
105+
<FingerprintIcon size="default" className="absolute" />
106106
);
107107
});

packages/ui-next/src/components/icons/utility/fingerprint.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ export const FingerprintIcon = memo(
1212
{...props}
1313
>
1414
<path
15-
fill="currentColor"
15+
className="fill-current"
1616
d="M17.971 17.667a.708.708 0 0 0 .709-.708v-4.25a6.375 6.375 0 0 0-12.75 0v4.25a.708.708 0 1 0 1.416 0v-4.25a4.959 4.959 0 1 1 9.917 0v4.25a.708.708 0 0 0 .708.708Z"
1717
/>
1818
<path
19-
fill="currentColor"
19+
className="fill-current"
2020
d="M15.136 19.083a.708.708 0 0 0 .709-.708v-5.667a3.542 3.542 0 0 0-7.084 0v5.667a.708.708 0 1 0 1.417 0v-5.667a2.125 2.125 0 1 1 4.25 0v5.667a.708.708 0 0 0 .708.708Z"
2121
/>
2222
<path
23-
fill="currentColor"
23+
className="fill-current"
2424
d="M11.596 12.708v7.084a.708.708 0 1 0 1.416 0v-7.084a.708.708 0 1 0-1.416 0ZM4.228 9.817a.71.71 0 0 0 .934-.367c1.218-2.796 3.954-4.533 7.142-4.533 3.187 0 5.923 1.737 7.141 4.533a.71.71 0 0 0 1.3-.567C19.298 5.563 16.062 3.5 12.305 3.5c-3.758 0-6.993 2.063-8.442 5.383a.71.71 0 0 0 .366.934Z"
2525
/>
2626
</svg>

packages/ui-next/src/components/icons/utility/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export * from "./dots";
1616
export * from "./double-wedge";
1717
export * from "./external";
1818
// Not sure why but it breaks Profile app
19-
// export * from "./fingerprint";
19+
export * from "./fingerprint";
2020
export * from "./fullscreen";
2121
export * from "./gear";
2222
export * from "./gift";

0 commit comments

Comments
 (0)