aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/showHiddenChannels
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-06-13 02:36:25 +0200
committerV <vendicated@riseup.net>2023-06-13 03:45:05 +0200
commit07a9adbce25e42dcd4d1eb25ee011328d0543304 (patch)
treec4ea6230e57cc3a77adc53c25efb91ea148a6dea /src/plugins/showHiddenChannels
parent42d8211871d84e2650f7c762c66e2ee2e6c58968 (diff)
downloadVencord-07a9adbce25e42dcd4d1eb25ee011328d0543304.tar.gz
Vencord-07a9adbce25e42dcd4d1eb25ee011328d0543304.tar.bz2
Vencord-07a9adbce25e42dcd4d1eb25ee011328d0543304.zip
🧹🧹
Diffstat (limited to 'src/plugins/showHiddenChannels')
-rw-r--r--src/plugins/showHiddenChannels/components/HiddenChannelLockScreen.tsx10
-rw-r--r--src/plugins/showHiddenChannels/index.tsx2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/showHiddenChannels/components/HiddenChannelLockScreen.tsx b/src/plugins/showHiddenChannels/components/HiddenChannelLockScreen.tsx
index d01efec..8b41e16 100644
--- a/src/plugins/showHiddenChannels/components/HiddenChannelLockScreen.tsx
+++ b/src/plugins/showHiddenChannels/components/HiddenChannelLockScreen.tsx
@@ -29,12 +29,12 @@ import openRolesAndUsersPermissionsModal, { PermissionType, RoleOrUserPermission
import { sortPermissionOverwrites } from "../../permissionsViewer/utils";
import { settings, VIEW_CHANNEL } from "..";
-enum SortOrderTypes {
+const enum SortOrderTypes {
LATEST_ACTIVITY = 0,
CREATION_DATE = 1
}
-enum ForumLayoutTypes {
+const enum ForumLayoutTypes {
DEFAULT = 0,
LIST = 1,
GRID = 2
@@ -61,7 +61,7 @@ interface ExtendedChannel extends Channel {
availableTags?: Array<Tag>;
}
-enum ChannelTypes {
+const enum ChannelTypes {
GUILD_TEXT = 0,
GUILD_VOICE = 2,
GUILD_ANNOUNCEMENT = 5,
@@ -69,12 +69,12 @@ enum ChannelTypes {
GUILD_FORUM = 15
}
-enum VideoQualityModes {
+const enum VideoQualityModes {
AUTO = 1,
FULL = 2
}
-enum ChannelFlags {
+const enum ChannelFlags {
PINNED = 1 << 1,
REQUIRE_TAG = 1 << 4
}
diff --git a/src/plugins/showHiddenChannels/index.tsx b/src/plugins/showHiddenChannels/index.tsx
index 634b5cd..e32daae 100644
--- a/src/plugins/showHiddenChannels/index.tsx
+++ b/src/plugins/showHiddenChannels/index.tsx
@@ -34,7 +34,7 @@ const ChannelListClasses = findByPropsLazy("channelName", "subtitle", "modeMuted
export const VIEW_CHANNEL = 1n << 10n;
const CONNECT = 1n << 20n;
-enum ShowMode {
+const enum ShowMode {
LockIcon,
HiddenIconWithMutedStyle
}