Don't default to large text & small text
This commit is contained in:
parent
7f8fdb6b7c
commit
22ec637223
1 changed files with 3 additions and 3 deletions
|
@ -137,11 +137,11 @@ module.exports = {
|
||||||
time = activity.timestamps.start
|
time = activity.timestamps.start
|
||||||
}
|
}
|
||||||
if (!activity.assets) {
|
if (!activity.assets) {
|
||||||
activity.assets = { "large_text": " ", "small_text": " " }
|
activity.assets = { "large_text": "", "small_text": "" }
|
||||||
}
|
}
|
||||||
|
|
||||||
var text1 = onlyIfExists("<br><span style='font-size: 1.3rem;'>" + activity.song + "</span>", activity.song) || activity.details || activity.assets.large_text
|
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 || activity.assets.small_text
|
var text2 = onlyIfExists("By: " + activity.artist, activity.artist) || activity.state
|
||||||
var text3 = onlyIfExists("On: " + activity.album, activity.album)
|
var text3 = onlyIfExists("On: " + activity.album, activity.album)
|
||||||
|
|
||||||
addedHTML += `
|
addedHTML += `
|
||||||
|
|
Loading…
Reference in a new issue