fix padding and lint
This commit is contained in:
parent
8f6371a9e0
commit
6ea90b6d4b
2 changed files with 15 additions and 3 deletions
|
|
@ -286,4 +286,16 @@
|
|||
height: 22px;
|
||||
margin-top: 2px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.vc-plugins-stats-container {
|
||||
margin-top: 16px;
|
||||
gap: 16px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.vc-plugins-ui-elements {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ import { isPluginEnabled } from "@api/PluginManager";
|
|||
import { definePluginSettings } from "@api/Settings";
|
||||
import { getUserSettingLazy } from "@api/UserSettings";
|
||||
import ErrorBoundary from "@components/ErrorBoundary";
|
||||
import VencordToolboxPlugin from "@plugins/vencordToolbox";
|
||||
import equicordToolbox from "@equicordplugins/equicordToolbox";
|
||||
import { Devs } from "@utils/constants";
|
||||
import definePlugin, { OptionType } from "@utils/types";
|
||||
import { findComponentByCodeLazy } from "@webpack";
|
||||
|
|
@ -46,7 +46,7 @@ const settings = definePluginSettings({
|
|||
{ label: "Vencord Toolbox", value: "TOOLBOX" }
|
||||
],
|
||||
get hidden() {
|
||||
return !isPluginEnabled(VencordToolboxPlugin.name);
|
||||
return !isPluginEnabled(equicordToolbox.name);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
@ -86,7 +86,7 @@ function GameActivityToggleButton(props: { nameplate?: any; }) {
|
|||
const { location } = settings.use(["location"]);
|
||||
const showCurrentGame = ShowCurrentGame.useSetting();
|
||||
|
||||
if (location !== "PANEL" && isPluginEnabled(VencordToolboxPlugin.name)) return null;
|
||||
if (location !== "PANEL" && isPluginEnabled(equicordToolbox.name)) return null;
|
||||
|
||||
return (
|
||||
<Button
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue