UserAreaAPI: fix button colors (#1066)
This commit is contained in:
parent
46971aeec5
commit
9a46b34dff
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ import { Devs } from "@utils/constants";
|
|||
import definePlugin from "@utils/types";
|
||||
import { findCssClassesLazy } from "@webpack";
|
||||
|
||||
const { iconForeground } = findCssClassesLazy("iconForeground", "accountPopoutButtonWrapper");
|
||||
const accountClasses = findCssClassesLazy("iconForeground", "accountPopoutButtonWrapper");
|
||||
|
||||
export default definePlugin({
|
||||
name: "UserAreaAPI",
|
||||
|
|
@ -37,7 +37,7 @@ export default definePlugin({
|
|||
renderButtons(props: { nameplate?: any; }) {
|
||||
return Vencord.Api.UserArea._renderButtons({
|
||||
nameplate: props.nameplate,
|
||||
iconForeground: props.nameplate != null ? iconForeground : void 0,
|
||||
iconForeground: accountClasses.iconForeground,
|
||||
hideTooltips: this.shouldHideTooltips()
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue