mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 05:13:29 -05:00
Fix
This commit is contained in:
parent
77ee8e7bc3
commit
3333661fdb
1 changed files with 1 additions and 9 deletions
|
@ -7,7 +7,6 @@
|
|||
import { definePluginSettings } from "@api/Settings";
|
||||
import { EquicordDevs } from "@utils/constants";
|
||||
import definePlugin, { OptionType } from "@utils/types";
|
||||
import { findByProps } from "@webpack";
|
||||
import { Button, Forms, i18n, Menu, TabBar } from "@webpack/common";
|
||||
import { ReactElement } from "react";
|
||||
|
||||
|
@ -17,8 +16,7 @@ import openQrModal from "./ui/modals/QrModal";
|
|||
|
||||
export default definePlugin({
|
||||
name: "LoginWithQR",
|
||||
description:
|
||||
"Allows you to login to another device by scanning a login QR code, just like on mobile!",
|
||||
description: "Allows you to login to another device by scanning a login QR code, just like on mobile!",
|
||||
authors: [EquicordDevs.nexpid],
|
||||
|
||||
settings: definePluginSettings({
|
||||
|
@ -97,10 +95,6 @@ export default definePlugin({
|
|||
),
|
||||
|
||||
get ScanQrMenuItem() {
|
||||
const { menuItemFocused, subMenuIcon } = findByProps(
|
||||
"menuItemFocused"
|
||||
) as Record<string, string>;
|
||||
|
||||
return (
|
||||
<Menu.MenuGroup>
|
||||
<Menu.MenuItem
|
||||
|
@ -109,8 +103,6 @@ export default definePlugin({
|
|||
icon={QrCodeIcon}
|
||||
action={openQrModal}
|
||||
showIconFirst
|
||||
focusedClassName={menuItemFocused}
|
||||
subMenuIconClassName={subMenuIcon}
|
||||
/>
|
||||
</Menu.MenuGroup>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue