From 9d742094cbb41dd42ce5cddbaf89e4fc2836f3a9 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Wed, 5 Apr 2023 17:44:03 -0300 Subject: ShowHiddenChannels: Use Discord's new overlay vars (#795) * Fix SHC css for new Discord vars * I'm dumb * improvements to work with themes --------- Co-authored-by: V --- src/plugins/showHiddenChannels/components/HiddenChannelLockScreen.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/showHiddenChannels/components') diff --git a/src/plugins/showHiddenChannels/components/HiddenChannelLockScreen.tsx b/src/plugins/showHiddenChannels/components/HiddenChannelLockScreen.tsx index 9050037..291a767 100644 --- a/src/plugins/showHiddenChannels/components/HiddenChannelLockScreen.tsx +++ b/src/plugins/showHiddenChannels/components/HiddenChannelLockScreen.tsx @@ -84,6 +84,7 @@ export function setChannelBeginHeaderComponent(component: ComponentType) { } const ChatScrollClasses = findByPropsLazy("auto", "content", "scrollerBase"); +const ChatClasses = findByPropsLazy("chat", "content", "noChat", "chatContent"); const TagComponent = LazyComponent(() => find(m => { if (typeof m !== "function") return false; @@ -159,7 +160,7 @@ function HiddenChannelLockScreen({ channel }: { channel: ExtendedChannel; }) { } return ( -
+
-- cgit