revert the show connections edit (imma try to find a patch), and edit locale on the xbox link.

This commit is contained in:
Cooper 2024-06-29 22:24:11 -05:00 committed by GitHub
parent 9afcb75358
commit 36f809f8cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View file

@ -50,7 +50,7 @@ export default definePlugin({
case ConnectionType.Roblox: case ConnectionType.Roblox:
return `https://www.roblox.com/users/${con.id}/profile`; return `https://www.roblox.com/users/${con.id}/profile`;
case ConnectionType.Xbox: case ConnectionType.Xbox:
return `https://www.xbox.com/en-US/play/user/${con.name}`; return `https://www.xbox.com/play/user/${con.name}`;
} }

View file

@ -147,11 +147,6 @@ function CompactConnectionComponent({ connection, theme }: { connection: Connect
/> />
); );
if (Vencord.Plugins.isPluginEnabled("OpenMoreConnections") && url == null) {
const OpenMoreConnections = Vencord.Plugins.plugins.OpenMoreConnections as any as typeof import("../openMoreConnections").default;
url = OpenMoreConnections.addConnectionLink(connection) as string;
}
const TooltipIcon = url ? LinkIcon : CopyIcon; const TooltipIcon = url ? LinkIcon : CopyIcon;
return ( return (