-
+
Notebook
diff --git a/src/equicordplugins/holyNotes/index.tsx b/src/equicordplugins/holyNotes/index.tsx
index e4a57e819..797f450d2 100644
--- a/src/equicordplugins/holyNotes/index.tsx
+++ b/src/equicordplugins/holyNotes/index.tsx
@@ -21,10 +21,11 @@ import "./style.css";
import { NavContextMenuPatchCallback } from "@api/ContextMenu";
import { HeaderBarButton } from "@api/HeaderBar";
import { DataStore } from "@api/index";
+import { BookmarkIcon } from "@components/Icons";
import { EquicordDevs } from "@utils/constants";
import { classNameFactory } from "@utils/css";
import { openModal } from "@utils/modal";
-import definePlugin, { IconComponent } from "@utils/types";
+import definePlugin from "@utils/types";
import { Message } from "@vencord/discord-types";
import { findByCodeLazy, findComponentByCodeLazy, findCssClassesLazy, findExportedComponentLazy } from "@webpack";
import { ChannelStore, Menu } from "@webpack/common";
@@ -35,8 +36,6 @@ import { DataStoreToCache, HolyNoteStore } from "./utils";
export const cl = classNameFactory("vc-notebook-");
export const CircleQuestionIcon = findExportedComponentLazy("CircleQuestionIcon");
-export const BookmarkIconLazy = findExportedComponentLazy("BookmarkIcon");
-export const BookmarkIcon: IconComponent = props => ;
export const MessageRecord = findByCodeLazy("isEdited(){");
export const messageClasses = findCssClassesLazy("message", "groupStart", "cozyMessage");
export const resultsClasses = findCssClassesLazy("emptyResultsWrap", "emptyResultsContent", "errorImage", "emptyResultsText", "noResultsImage", "alt");
diff --git a/src/equicordplugins/messageLoggerEnhanced/components/LogsButton.tsx b/src/equicordplugins/messageLoggerEnhanced/components/LogsButton.tsx
index e6613a983..5efc7c1fc 100644
--- a/src/equicordplugins/messageLoggerEnhanced/components/LogsButton.tsx
+++ b/src/equicordplugins/messageLoggerEnhanced/components/LogsButton.tsx
@@ -17,22 +17,18 @@
*/
import { HeaderBarButton } from "@api/HeaderBar";
+import { LogsIcon } from "@components/Icons";
import { cl } from "@equicordplugins/messageLoggerEnhanced/index";
-import { findComponentByCodeLazy } from "@webpack";
import { openLogModal } from "./LogsModal";
-const Icon = findComponentByCodeLazy("0-1.27-.97l-2.5.7a3");
-
export function OpenLogsButton() {
return (
openLogModal()}
tooltip={"Open Logs"}
- icon={Icon}
+ icon={LogsIcon}
/>
);
}
-
-export { Icon as LogsIcon };
diff --git a/src/equicordplugins/messageLoggerEnhanced/index.tsx b/src/equicordplugins/messageLoggerEnhanced/index.tsx
index 2abe5c7df..efaf59567 100644
--- a/src/equicordplugins/messageLoggerEnhanced/index.tsx
+++ b/src/equicordplugins/messageLoggerEnhanced/index.tsx
@@ -8,6 +8,7 @@ export const Native = getNative();
import "./styles.css";
+import { LogsIcon } from "@components/Icons";
import { Devs, EquicordDevs } from "@utils/constants";
import { classNameFactory } from "@utils/css";
import { Logger } from "@utils/Logger";
@@ -15,7 +16,7 @@ import definePlugin from "@utils/types";
import { findByPropsLazy } from "@webpack";
import { FluxDispatcher, MessageStore, SelectedChannelStore, UserStore } from "@webpack/common";
-import { LogsIcon, OpenLogsButton } from "./components/LogsButton";
+import { OpenLogsButton } from "./components/LogsButton";
import { openLogModal } from "./components/LogsModal";
import * as idb from "./db";
import * as LoggedMessageManager from "./LoggedMessageManager";
diff --git a/src/plugins/mentionAvatars/index.tsx b/src/plugins/mentionAvatars/index.tsx
index 44b4ec12d..b5775da4d 100644
--- a/src/plugins/mentionAvatars/index.tsx
+++ b/src/plugins/mentionAvatars/index.tsx
@@ -69,7 +69,7 @@ export default definePlugin({
// show avatar in the chat input box
find: ".hasUniqueUsername()?null:`#",
replacement: {
- match: /(?<=,(\i)\).{0,55})`@\$\{(\i)\}`/,
+ match: /(?<=,(\i)\).{0,150})`@\$\{(\i)\}`/,
replace: "$self.renderInputMention($2,$1)"
}
}],