diff --git a/README.md b/README.md index c46a74b..b06ead4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # 🔐 [TeleOTP](http://t.me/TeleOTPAppBot) [![Deploy static content to Pages](https://github.com/UselessStudio/TeleOTP/actions/workflows/deploy.yml/badge.svg)](https://github.com/UselessStudio/TeleOTP/actions/workflows/deploy.yml) [![Build Telegram bot image](https://github.com/UselessStudio/TeleOTP/actions/workflows/bot.yml/badge.svg)](https://github.com/UselessStudio/TeleOTP/actions/workflows/bot.yml) -[![Plausible analytics](https://img.shields.io/badge/Plausible-analytics-blue)](https://analytics.gesti.tech/teleotp.pages.dev) +[![Plausible analytics](https://img.shields.io/badge/Plausible-analytics-blue)](https://analytics.gesti.tech/teleotp.gesti.tech) Telegram Mini App that allows you to generate one-time 2FA passwords inside Telegram. @@ -782,4 +782,4 @@ export const icons: Record = { TeleOTP is made for [Telegram Mini App Contest](https://t.me/contest/327). Designed by [@lunnaholy](https://github.com/lunnaholy), -implemented by [@LowderPlay](https://github.com/LowderPlay) with ❤️ \ No newline at end of file +implemented by [@LowderPlay](https://github.com/LowderPlay) with ❤️ diff --git a/index.html b/index.html index 5eecd31..d57beb5 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - + Vite + React + TS diff --git a/package-lock.json b/package-lock.json index f269454..8325d46 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "teleotp", - "version": "0.2.0", + "version": "0.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "teleotp", - "version": "0.2.0", + "version": "0.2.1", "dependencies": { "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", diff --git a/package.json b/package.json index 7f51b91..4784f5c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "teleotp", "private": true, - "version": "0.2.0", + "version": "0.2.1", "type": "module", "homepage": "https://github.com/UselessStudio/TeleOTP", "scripts": { diff --git a/src/components/TelegramTextField.tsx b/src/components/TelegramTextField.tsx index a94446b..b1672a9 100644 --- a/src/components/TelegramTextField.tsx +++ b/src/components/TelegramTextField.tsx @@ -4,6 +4,9 @@ const TelegramTextField = styled((props: TextFieldProps) => ( { + e.target.scrollIntoView({behavior: "smooth"}); + }} /> ))(({ theme }) => ({ 'label': { diff --git a/src/pages/Decrypt.tsx b/src/pages/Decrypt.tsx index a403bf0..37a5a07 100644 --- a/src/pages/Decrypt.tsx +++ b/src/pages/Decrypt.tsx @@ -8,6 +8,7 @@ import LottieAnimation from "../components/LottieAnimation.tsx"; import ClearIcon from '@mui/icons-material/Clear'; import {useNavigate} from "react-router-dom"; import {BiometricsManagerContext} from "../managers/biometrics.tsx"; +import { Fingerprint } from "@mui/icons-material"; const Decrypt: FC = () => { const [password, setPassword] = useState(""); @@ -54,6 +55,19 @@ const Decrypt: FC = () => { setWrongPassword(false); }} /> + {biometricsManager?.isSaved && + + } {wrongPassword ?