HomeTyping: Fix CL
This commit is contained in:
parent
a147c9f680
commit
b725368125
1 changed files with 2 additions and 2 deletions
|
|
@ -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], () =>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue