mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-23 00:29:10 -05:00
Add Vencord.Api.isEquicord
This commit is contained in:
parent
be270012bd
commit
549923ed16
2 changed files with 6 additions and 1 deletions
|
@ -122,3 +122,8 @@ export const MessageUpdater = $MessageUpdater;
|
||||||
* An API allowing you to get an user setting
|
* An API allowing you to get an user setting
|
||||||
*/
|
*/
|
||||||
export const UserSettings = $UserSettings;
|
export const UserSettings = $UserSettings;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Just used to identify if user is on Equicord as Vencord doesnt have this
|
||||||
|
*/
|
||||||
|
export const isEquicord = true;
|
||||||
|
|
|
@ -30,8 +30,8 @@ import { chooseFile } from "@utils/web";
|
||||||
import { findByPropsLazy, findLazy, findStoreLazy } from "@webpack";
|
import { findByPropsLazy, findLazy, findStoreLazy } from "@webpack";
|
||||||
import { Button, Card, Constants, FluxDispatcher, Forms, lodash, Menu, MessageActions, PermissionsBits, PermissionStore, RestAPI, SelectedChannelStore, showToast, SnowflakeUtils, Toasts, useEffect, useState } from "@webpack/common";
|
import { Button, Card, Constants, FluxDispatcher, Forms, lodash, Menu, MessageActions, PermissionsBits, PermissionStore, RestAPI, SelectedChannelStore, showToast, SnowflakeUtils, Toasts, useEffect, useState } from "@webpack/common";
|
||||||
import { ComponentType } from "react";
|
import { ComponentType } from "react";
|
||||||
import { lastState as silentMessageEnabled } from "../silentMessageToggle";
|
|
||||||
|
|
||||||
|
import { lastState as silentMessageEnabled } from "../silentMessageToggle";
|
||||||
import { VoiceRecorderDesktop } from "./DesktopRecorder";
|
import { VoiceRecorderDesktop } from "./DesktopRecorder";
|
||||||
import { settings } from "./settings";
|
import { settings } from "./settings";
|
||||||
import { cl } from "./utils";
|
import { cl } from "./utils";
|
||||||
|
|
Loading…
Add table
Reference in a new issue