mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-26 09:16:24 +00:00
fix(betterActivities): handle xbox edge case
This commit is contained in:
parent
f80593aef8
commit
853efa7a90
1 changed files with 6 additions and 3 deletions
|
@ -117,14 +117,17 @@ export function getApplicationIcons(activities: Activity[], preferSmall = false)
|
||||||
application
|
application
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
} else if (platform === "xbox") {
|
||||||
} else {
|
|
||||||
if (platform === "xbox") {
|
|
||||||
applicationIcons.push({
|
applicationIcons.push({
|
||||||
image: { src: xboxUrl, alt: "Xbox" },
|
image: { src: xboxUrl, alt: "Xbox" },
|
||||||
activity
|
activity
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
} else if (platform === "xbox") {
|
||||||
|
applicationIcons.push({
|
||||||
|
image: { src: xboxUrl, alt: "Xbox" },
|
||||||
|
activity
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue