SendTimestamps (#891)

Co-authored-by: Tyler Flowers <contact@ggtylerr.dev>
This commit is contained in:
V 2023-04-15 04:42:18 +02:00 committed by GitHub
parent f75f887861
commit 88ad4f1b05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 288 additions and 10 deletions

View file

@ -24,13 +24,10 @@ import {
ModalRoot,
openModal,
} from "@utils/modal";
import { findLazy } from "@webpack";
import { Button, Forms, React, Switch, TextInput } from "@webpack/common";
import { Button, ComponentDispatch, Forms, React, Switch, TextInput } from "@webpack/common";
import { encrypt } from "../index";
const ComponentDispatch = findLazy(m => m.emitter?._events?.INSERT_TEXT);
function EncModal(props: ModalProps) {
const [secret, setSecret] = React.useState("");
const [cover, setCover] = React.useState("");