HomeTyping: Fix CL

This commit is contained in:
thororen1234 2026-03-27 12:56:26 -04:00
parent a147c9f680
commit b725368125
No known key found for this signature in database

View file

@ -10,7 +10,7 @@ import definePlugin from "@utils/types";
import { findComponentByCodeLazy, findStoreLazy } from "@webpack";
import { TypingStore, UserStore, useStateFromStores } from "@webpack/common";
const cl = classNameFactory("vc-home-");
const cl = classNameFactory("vc-home-typing-");
const ThreeDots = findComponentByCodeLazy("Math.min(1,Math.max(", "dotRadius:");
const PrivateChannelSortStore = findStoreLazy("PrivateChannelSortStore") as { getPrivateChannelIds: () => string[]; };
@ -20,7 +20,7 @@ export default definePlugin({
description: "Changes the home button to a typing indicator if someone in your dms is typing",
authors: [Devs.Samwich],
TypingIcon() {
return <ThreeDots className={cl("typing")} dotRadius={3} themed={true} />;
return <ThreeDots className={cl("dots")} dotRadius={3} themed={true} />;
},
isTyping() {
return useStateFromStores([TypingStore], () =>