Skip to content

Commit

Permalink
feat(ui): update face id icon for biometric button when login
Browse files Browse the repository at this point in the history
  • Loading branch information
Vu Van Duc authored and Vu Van Duc committed May 24, 2024
1 parent 78b058e commit f842b26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Binary file added src/ui/assets/images/face-id.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions src/ui/components/PasscodeModule/PasscodeModule.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { IonButton, IonCol, IonGrid, IonIcon, IonRow } from "@ionic/react";
import { backspaceSharp, fingerPrintSharp } from "ionicons/icons";
import { backspaceSharp } from "ionicons/icons";
import { PasscodeModuleProps } from "./PasscodeModule.types";
import "./PasscodeModule.scss";
import { PASSCODE_MAPPING } from "../../globals/types";
import { useBiometricAuth } from "../../hooks/useBiometricsHook";
import { useSelector } from "react-redux";
import { getBiometryCacheCache } from "../../../store/reducers/biometryCache";
import faceIdIcon from "../../assets/images/face-id.png";

const PasscodeModule = ({
error,
Expand Down Expand Up @@ -70,10 +71,9 @@ const PasscodeModule = ({
handleBiometricButton()
}
>
<IonIcon
slot="icon-only"
className="passcode-module-fingerprint-icon"
icon={fingerPrintSharp}
<img
src={faceIdIcon}
alt="face-id"
/>
</IonButton>
) : null}
Expand Down

0 comments on commit f842b26

Please sign in to comment.