mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-26 22:58:21 -04:00
Some Fixes
This commit is contained in:
parent
7adcfaa735
commit
319a058286
9 changed files with 37 additions and 176 deletions
|
@ -23,7 +23,7 @@ let currentUser: User;
|
|||
let keywordLog: Array<any> = [];
|
||||
|
||||
const MenuHeader = findByCodeLazy(".useInDesktopNotificationCenterExperiment)()?");
|
||||
const Popout = findByPropsLazy("ItemsPopout");
|
||||
const Popout = findByCodeLazy("let{analyticsName:");
|
||||
const recentMentionsPopoutClass = findByPropsLazy("recentMentionsPopout");
|
||||
const KEYWORD_ENTRIES_KEY = "KeywordNotify_keywordEntries";
|
||||
const KEYWORD_LOG_KEY = "KeywordNotify_log";
|
||||
|
@ -92,7 +92,7 @@ function Collapsible({ title, children }) {
|
|||
size={Button.Sizes.ICON}
|
||||
className="keywordnotify-collapsible">
|
||||
<div style={{ display: "flex", alignItems: "center" }}>
|
||||
<div style={{ marginLeft: "auto", color: "var(--text-muted)" }}>{isOpen ? "▲" : "▼"}</div>
|
||||
<div style={{ marginLeft: "auto", color: "var(--text-muted)", paddingRight: "5px" }}>{isOpen ? "▼" : "▶"}</div>
|
||||
<Forms.FormTitle tag="h4">{title}</Forms.FormTitle>
|
||||
</div>
|
||||
</Button>
|
||||
|
@ -393,6 +393,7 @@ export default definePlugin({
|
|||
};
|
||||
|
||||
const messageRender = (e, t) => {
|
||||
console.log(this);
|
||||
const msg = this.renderMsg({
|
||||
message: e,
|
||||
gotoMessage: t,
|
||||
|
@ -410,9 +411,15 @@ export default definePlugin({
|
|||
return [msg];
|
||||
};
|
||||
|
||||
/* return (
|
||||
<>
|
||||
<p>hi uwu</p>
|
||||
</>
|
||||
);*/
|
||||
|
||||
return (
|
||||
<>
|
||||
<Popout.default
|
||||
<Popout
|
||||
className={recentMentionsPopoutClass.recentMentionsPopout}
|
||||
renderHeader={() => header}
|
||||
renderMessage={messageRender}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue