diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-05-16 14:15:56 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-16 17:15:56 +0000 |
commit | 3f2bcd2cab1a7a3c32b9cffd5d4fc5df6dde670b (patch) | |
tree | 6a28a04cd10c2d7f2aeebd80a7a7aaa014424f74 /src/plugins/showHiddenChannels/index.tsx | |
parent | 235000cf415b30b666bde41cf95f9d7d696f1a8c (diff) | |
download | Vencord-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.tsx | 7 |
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 } }); |