From 9820b79dfe39a2ea5105a6160bba7a714fa185fa Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Tue, 20 Jun 2023 17:11:50 -0300 Subject: [PATCH] SHC: show active now voice members; PermViewer: improve styling (#1314) --- .../components/RolesAndUsersPermissions.tsx | 3 ++- src/plugins/permissionsViewer/styles.css | 15 ++++++++++----- src/plugins/showHiddenChannels/index.tsx | 8 ++++++++ 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/src/plugins/permissionsViewer/components/RolesAndUsersPermissions.tsx b/src/plugins/permissionsViewer/components/RolesAndUsersPermissions.tsx index 7a65a071d..b6d2538fe 100644 --- a/src/plugins/permissionsViewer/components/RolesAndUsersPermissions.tsx +++ b/src/plugins/permissionsViewer/components/RolesAndUsersPermissions.tsx @@ -23,6 +23,7 @@ import { ModalCloseButton, ModalContent, ModalHeader, ModalProps, ModalRoot, Mod import { ContextMenu, FluxDispatcher, GuildMemberStore, Menu, PermissionsBits, Text, Tooltip, useEffect, UserStore, useState, useStateFromStores } from "@webpack/common"; import type { Guild } from "discord-types/general"; +import { settings } from ".."; import { cl, getPermissionDescription, getPermissionString } from "../utils"; import { PermissionAllowedIcon, PermissionDefaultIcon, PermissionDeniedIcon } from "./icons"; @@ -108,7 +109,7 @@ function RolesAndUsersPermissionsComponent({ permissions, guild, modalProps, hea