From 3f2bcd2cab1a7a3c32b9cffd5d4fc5df6dde670b Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Tue, 16 May 2023 14:15:56 -0300 Subject: SHC: Permissions viewer integration (#475) --- src/plugins/showHiddenChannels/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/plugins/showHiddenChannels/index.tsx') 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 } }); -- cgit