diff --git a/src/equicordplugins/sidebarChat/index.tsx b/src/equicordplugins/sidebarChat/index.tsx
index 8f8f3b70c..564fd048c 100644
--- a/src/equicordplugins/sidebarChat/index.tsx
+++ b/src/equicordplugins/sidebarChat/index.tsx
@@ -41,11 +41,15 @@ import {
import { settings, SidebarStore } from "./store";
-const { HeaderBar, HeaderBarIcon } = mapMangledModuleLazy(".themedMobile]:", {
- HeaderBarIcon: filters.componentByCode(".HEADER_BAR_BADGE_TOP:", '.iconBadge,"top"'),
+// ??? no clue why this HeaderBarIcon doesnt work, its the same as the one below
+const { HeaderBar, /* HeaderBarIcon*/ } = mapMangledModuleLazy(".themedMobile]:", {
+ HeaderBarIcon: filters.componentByCode('size:"custom",'),
HeaderBar: filters.byCode(".themedMobile]:"),
});
+// from toolbox
+const HeaderBarIcon = findComponentByCodeLazy(".HEADER_BAR_BADGE_TOP:", '.iconBadge,"top"');
+
const ArrowsLeftRightIcon = () => {
return ;
};
@@ -126,7 +130,7 @@ export default definePlugin({
},
renderSidebar: ErrorBoundary.wrap(() => {
- const { guild, channel } = useStateFromStores([SidebarStore], () => SidebarStore.getFullState());
+ const { guild, channel, /* width*/ } = useStateFromStores([SidebarStore], () => SidebarStore.getFullState());
const [width, setWidth] = useState(0);
const [channelSidebar, guildSidebar] = useStateFromStores(
@@ -162,7 +166,7 @@ export default definePlugin({
return (