more fixes
This commit is contained in:
parent
e5e874c97c
commit
bda0c38cc4
6 changed files with 4 additions and 7 deletions
|
|
@ -15,7 +15,7 @@ import { Guild } from "@vencord/discord-types";
|
|||
import { findByPropsLazy, findCssClassesLazy } from "@webpack";
|
||||
import { Parser, Tooltip, UserStore } from "@webpack/common";
|
||||
|
||||
const AvatarStyles = findCssClassesLazy("avatar", "zalgo");
|
||||
const AvatarStyles = findCssClassesLazy("avatar", "zalgo", "clickable");
|
||||
const GuildManager = findByPropsLazy("joinGuild");
|
||||
|
||||
interface User {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ import { filters, findByCodeLazy, findByPropsLazy, findComponentByCodeLazy, find
|
|||
import {
|
||||
GuildStore,
|
||||
ListScrollerAuto,
|
||||
ListScrollerNone,
|
||||
ListScrollerThin,
|
||||
OAuth2AuthorizeModal,
|
||||
ScrollerAuto,
|
||||
|
|
@ -102,7 +101,6 @@ export {
|
|||
GuildStore,
|
||||
Heading,
|
||||
ListScrollerAuto,
|
||||
ListScrollerNone,
|
||||
ListScrollerThin,
|
||||
OAuth2AuthorizeModal,
|
||||
Paragraph,
|
||||
|
|
|
|||
|
|
@ -92,7 +92,6 @@ export default function ScrollerTab() {
|
|||
<Paragraph color="text-muted">• ScrollerNone - Hidden scrollbar</Paragraph>
|
||||
<Paragraph color="text-muted">• ListScrollerThin - Virtualized list with thin scrollbar</Paragraph>
|
||||
<Paragraph color="text-muted">• ListScrollerAuto - Virtualized list with auto scrollbar</Paragraph>
|
||||
<Paragraph color="text-muted">• ListScrollerNone - Virtualized list with hidden scrollbar</Paragraph>
|
||||
</SectionWrapper>
|
||||
|
||||
<SectionWrapper title="Import">
|
||||
|
|
|
|||
|
|
@ -70,4 +70,4 @@ export function removeListener(fn): void {
|
|||
|
||||
// Taken from https://github.com/Vendicated/Vencord/blob/86e94343cca10b950f2dc8d18d496d6db9f3b728/src/components/PluginSettings/PluginModal.tsx#L45
|
||||
export const UserSummaryItem = LazyComponent(() => findByCode("defaultRenderUser", "showDefaultAvatarsForNullUsers"));
|
||||
export const AvatarStyles = findCssClassesLazy("moreUsers", "emptyUser", "avatarContainer", "clickableAvatar");
|
||||
export const AvatarStyles = findCssClassesLazy("moreUsers", "emptyUser", "avatarContainer", "clickableAvatar", "avatar");
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ interface DiscordStatus {
|
|||
status: "online" | "dnd" | "idle" | "invisible";
|
||||
}
|
||||
|
||||
const StatusStyles = findCssClassesLazy("statusItem");
|
||||
const StatusStyles = findCssClassesLazy("statusItem", "status", "menuDivider", "clearCustomStatusHint", "customEmojiPlaceholder");
|
||||
// TODO: find clearCustomStatusHint original css/svg or replace
|
||||
const PMenu = findComponentByCodeLazy(".menuItemLabel", ".menuItemInner");
|
||||
const EmojiComponent = findComponentByCodeLazy(/\.translateSurrogatesToInlineEmoji\(\i\.name\);/);
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ function Watching({ userIds, guildId }: WatchingProps): JSX.Element {
|
|||
const ApplicationStreamingStore = findStoreLazy("ApplicationStreamingStore");
|
||||
|
||||
const UserSummaryItem = findComponentByCodeLazy("defaultRenderUser", "showDefaultAvatarsForNullUsers");
|
||||
const AvatarStyles = findCssClassesLazy("moreUsers", "emptyUser", "avatarContainer", "clickableAvatar");
|
||||
const AvatarStyles = findCssClassesLazy("moreUsers", "emptyUser", "avatarContainer", "clickableAvatar", "avatar");
|
||||
|
||||
export default definePlugin({
|
||||
name: "WhosWatching",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue