Translate: Add auto translate enable alert

somehow people accidently enable it then get confused why vencord has "auto correct". this should hopefully solve the issue
This commit is contained in:
Vendicated 2024-02-06 17:04:01 +01:00
parent 2c198e547c
commit e58aa5dbab
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
3 changed files with 26 additions and 4 deletions

View file

@ -80,8 +80,6 @@ const buttonFactories = new Map<string, ChatBarButton>();
const logger = new Logger("ChatButtons");
export function _injectButtons(buttons: ReactNode[], props: ChatBarProps) {
if (props.type.analyticsName !== "normal") return;
for (const [key, makeButton] of buttonFactories) {
try {
const res = makeButton(props, props.type.analyticsName === "normal");