diff --git a/src/equicordplugins/channelTabs/components/ChannelTab.tsx b/src/equicordplugins/channelTabs/components/ChannelTab.tsx index 3bdd20ce..d1a337cf 100644 --- a/src/equicordplugins/channelTabs/components/ChannelTab.tsx +++ b/src/equicordplugins/channelTabs/components/ChannelTab.tsx @@ -8,12 +8,13 @@ import { classNameFactory } from "@api/Styles"; import { getIntlMessage, getUniqueUsername } from "@utils/discord"; import { classes } from "@utils/misc"; import { findByPropsLazy, findComponentByCodeLazy } from "@webpack"; -import { Avatar, ChannelStore, ContextMenuApi, Dots, GuildStore, PresenceStore, ReadStateStore, Text, TypingStore, useDrag, useDrop, useRef, UserStore, useStateFromStores } from "@webpack/common"; +import { Avatar, ChannelStore, ContextMenuApi, GuildStore, PresenceStore, ReadStateStore, Text, TypingStore, useDrag, useDrop, useRef, UserStore, useStateFromStores } from "@webpack/common"; import { Channel, Guild, User } from "discord-types/general"; import { ChannelTabsProps, CircleQuestionIcon, closeTab, isTabSelected, moveDraggedTabs, moveToTab, openedTabs, settings } from "../util"; import { TabContextMenu } from "./ContextMenus"; +const ThreeDots = findComponentByCodeLazy(".dots,", "dotRadius:"); const { getBadgeWidthForValue } = findByPropsLazy("getBadgeWidthForValue"); const dotStyles = findByPropsLazy("numberBadge", "textBadge"); @@ -52,7 +53,7 @@ const ChannelIcon = ({ channel }: { channel: Channel; }) => function TypingIndicator({ isTyping }: { isTyping: boolean; }) { return isTyping - ? + ? : null; } diff --git a/src/equicordplugins/friendshipRanks/index.tsx b/src/equicordplugins/friendshipRanks/index.tsx index 24479f7e..543167d2 100644 --- a/src/equicordplugins/friendshipRanks/index.tsx +++ b/src/equicordplugins/friendshipRanks/index.tsx @@ -8,7 +8,7 @@ import { BadgeUserArgs, ProfileBadge } from "@api/Badges"; import ErrorBoundary from "@components/ErrorBoundary"; import { Devs } from "@utils/constants"; import { Margins } from "@utils/margins"; -import { Modals, ModalSize, openModal } from "@utils/modal"; +import { ModalContent, ModalHeader, ModalRoot, ModalSize, openModal } from "@utils/modal"; import definePlugin from "@utils/types"; import { Button, Flex, Forms, RelationshipStore } from "@webpack/common"; @@ -81,8 +81,8 @@ const ranks: rankInfo[] = function openRankModal(rank: rankInfo) { openModal(props => ( - - + + - - + +
{rank.description}
-
-
+ +
)); } diff --git a/src/equicordplugins/hideServers/components/HiddenServersButton.tsx b/src/equicordplugins/hideServers/components/HiddenServersButton.tsx index 9cad8482..d9c25408 100644 --- a/src/equicordplugins/hideServers/components/HiddenServersButton.tsx +++ b/src/equicordplugins/hideServers/components/HiddenServersButton.tsx @@ -7,7 +7,7 @@ import "./style.css"; import { classNameFactory } from "@api/Styles"; -import { Button, ButtonLooks, GuildStore, useStateFromStores } from "@webpack/common"; +import { Button, GuildStore, useStateFromStores } from "@webpack/common"; import { HiddenServersStore } from "../HiddenServersStore"; import { openHiddenServersModal } from "./HiddenServersMenu"; @@ -23,7 +23,7 @@ function HiddenServersButton() { {actuallyHidden > 0 ? (