Fix formatting on songs with funke

This commit is contained in:
bingus_violet 2024-07-21 20:10:47 -05:00
parent 5dddfcc9e0
commit b58e3afc88

View file

@ -139,6 +139,8 @@ module.exports = {
var text1 = onlyIfExists("<br><span style='font-size: 1.3rem;'>" + activity.song + "</span>", activity.song) || activity.details
var text2 = onlyIfExists("By: " + activity.artist, activity.artist) || activity.state
var text3 = onlyIfExists("On: " + activity.album, activity.album != activity.song && activity.album)
console.log(text3)
text3 = "bruh"
addedHTML += `
<div class="chip activity grid-child">
@ -147,8 +149,8 @@ module.exports = {
<p style="text-align: left; font-size: 1.15rem;">
<span style="font-size: 1.6rem;">${activity.name}</span>
${onlyIfExists("<br>" + text1, text1)}
${onlyIfExists("<br>" + text2, text2)}
${onlyIfExists("<br>" + text3, text3)}
${onlyIfExists("<br>" + makeCompat(text2), text2)}
${onlyIfExists("<br>" + makeCompat(text3), text3)}
${onlyIfExists("<br>" + activityTime(), activityTime())}
</p>
</div>