mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-19 11:27:02 -04:00
LoginWithQR: Use JSQR NPM
This commit is contained in:
parent
e874012b61
commit
25e9249d59
6 changed files with 13 additions and 10143 deletions
|
@ -14,16 +14,6 @@ import { ReactElement } from "react";
|
|||
import { cl, QrCodeCameraIcon } from "./ui";
|
||||
import openQrModal from "./ui/modals/QrModal";
|
||||
|
||||
export let jsQR: (img: Uint8ClampedArray, width: number, height: number) => {
|
||||
binaryData: number[];
|
||||
data: string;
|
||||
chunks: any[];
|
||||
version: number;
|
||||
location: object;
|
||||
};
|
||||
|
||||
import("./jsQR.js").then(x => (jsQR = x.default));
|
||||
|
||||
export default definePlugin({
|
||||
name: "LoginWithQR",
|
||||
description: "Allows you to login to another device by scanning a login QR code, just like on mobile!",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue