aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/showHiddenChannels/components
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-04-05 17:44:03 -0300
committerGitHub <noreply@github.com>2023-04-05 20:44:03 +0000
commit9d742094cbb41dd42ce5cddbaf89e4fc2836f3a9 (patch)
tree5932e34b7a79a41a54a41d8f05b116e8e8f9da1c /src/plugins/showHiddenChannels/components
parent38f3aac98d1098a70364366c056e0007f041d1cf (diff)
downloadVencord-9d742094cbb41dd42ce5cddbaf89e4fc2836f3a9.tar.gz
Vencord-9d742094cbb41dd42ce5cddbaf89e4fc2836f3a9.tar.bz2
Vencord-9d742094cbb41dd42ce5cddbaf89e4fc2836f3a9.zip
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 <vendicated@riseup.net>
Diffstat (limited to 'src/plugins/showHiddenChannels/components')
-rw-r--r--src/plugins/showHiddenChannels/components/HiddenChannelLockScreen.tsx3
1 files changed, 2 insertions, 1 deletions
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<any>) {
}
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 (
- <div className={ChatScrollClasses.auto + " " + "shc-lock-screen-outer-container"}>
+ <div className={ChatScrollClasses.auto + " " + ChatScrollClasses.customTheme + " " + ChatClasses.chatContent + " " + "shc-lock-screen-outer-container"}>
<div className="shc-lock-screen-container">
<img className="shc-lock-screen-logo" src={HiddenChannelLogo} />