mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-26 14:48:21 -04:00
SiderBarChat Fixes
This commit is contained in:
parent
28d9ec5af0
commit
184c27716d
1 changed files with 3 additions and 5 deletions
|
@ -8,7 +8,7 @@ import { NavContextMenuPatchCallback } from "@api/ContextMenu";
|
||||||
import ErrorBoundary from "@components/ErrorBoundary";
|
import ErrorBoundary from "@components/ErrorBoundary";
|
||||||
import { Devs } from "@utils/constants";
|
import { Devs } from "@utils/constants";
|
||||||
import definePlugin from "@utils/types";
|
import definePlugin from "@utils/types";
|
||||||
import { filters, findByPropsLazy, findComponentByCodeLazy, mapMangledModuleLazy } from "@webpack";
|
import { findByPropsLazy, findComponentByCodeLazy } from "@webpack";
|
||||||
import {
|
import {
|
||||||
ChannelRouter,
|
ChannelRouter,
|
||||||
ChannelStore,
|
ChannelStore,
|
||||||
|
@ -27,10 +27,8 @@ import { Channel, User } from "discord-types/general";
|
||||||
import { SidebarStore } from "./store";
|
import { SidebarStore } from "./store";
|
||||||
|
|
||||||
|
|
||||||
const { HeaderBar, HeaderBarIcon } = mapMangledModuleLazy(".themedMobile]:", {
|
const HeaderBarIcon = findComponentByCodeLazy(".HEADER_BAR_BADGE_TOP:", '.iconBadge,"top"');
|
||||||
HeaderBarIcon: filters.byCode('size:"custom",'),
|
const HeaderBar = findComponentByCodeLazy(".themedMobile]:");
|
||||||
HeaderBar: filters.byCode(".themedMobile]:"),
|
|
||||||
});
|
|
||||||
const Chat = findComponentByCodeLazy("filterAfterTimestamp:", "chatInputType");
|
const Chat = findComponentByCodeLazy("filterAfterTimestamp:", "chatInputType");
|
||||||
const Resize = findComponentByCodeLazy("sidebarType:", "homeSidebarWidth");
|
const Resize = findComponentByCodeLazy("sidebarType:", "homeSidebarWidth");
|
||||||
const ChannelHeader = findComponentByCodeLazy("#{intl::HUB_DIRECTORY_CHANNEL_TITLE}");
|
const ChannelHeader = findComponentByCodeLazy("#{intl::HUB_DIRECTORY_CHANNEL_TITLE}");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue