aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/showHiddenChannels/index.tsx
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-05-16 14:15:56 -0300
committerGitHub <noreply@github.com>2023-05-16 17:15:56 +0000
commit3f2bcd2cab1a7a3c32b9cffd5d4fc5df6dde670b (patch)
tree6a28a04cd10c2d7f2aeebd80a7a7aaa014424f74 /src/plugins/showHiddenChannels/index.tsx
parent235000cf415b30b666bde41cf95f9d7d696f1a8c (diff)
downloadVencord-3f2bcd2cab1a7a3c32b9cffd5d4fc5df6dde670b.tar.gz
Vencord-3f2bcd2cab1a7a3c32b9cffd5d4fc5df6dde670b.tar.bz2
Vencord-3f2bcd2cab1a7a3c32b9cffd5d4fc5df6dde670b.zip
SHC: Permissions viewer integration (#475)
Diffstat (limited to 'src/plugins/showHiddenChannels/index.tsx')
-rw-r--r--src/plugins/showHiddenChannels/index.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/showHiddenChannels/index.tsx b/src/plugins/showHiddenChannels/index.tsx
index 38adf67..667f710 100644
--- a/src/plugins/showHiddenChannels/index.tsx
+++ b/src/plugins/showHiddenChannels/index.tsx
@@ -39,7 +39,7 @@ enum ShowMode {
HiddenIconWithMutedStyle
}
-const settings = definePluginSettings({
+export const settings = definePluginSettings({
hideUnreads: {
description: "Hide Unreads",
type: OptionType.BOOLEAN,
@@ -54,6 +54,11 @@ const settings = definePluginSettings({
{ label: "Muted style with hidden eye icon on the right", value: ShowMode.HiddenIconWithMutedStyle },
],
restartNeeded: true
+ },
+ defaultAllowedUsersAndRolesDropdownState: {
+ description: "Whether the allowed users and roles dropdown on hidden channels should be open by default",
+ type: OptionType.BOOLEAN,
+ default: true
}
});