anything you write will still be better than revanced - ushie
This commit is contained in:
parent
0fbfbb2638
commit
56fa987021
1 changed files with 6 additions and 2 deletions
|
@ -34,8 +34,12 @@ export function MusicEntry({ spotifylink }: { spotifylink: string }) {
|
||||||
"margin-right": "0.5em"
|
"margin-right": "0.5em"
|
||||||
}} src={musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.thumbnailUrl} alt="LMAO IMAGINE BEING BLIND" />
|
}} src={musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.thumbnailUrl} alt="LMAO IMAGINE BEING BLIND" />
|
||||||
<div class="innersinglemusic">
|
<div class="innersinglemusic">
|
||||||
<div class="musicartist" > {musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.artistName}</div>
|
<div class="musicartist" > {
|
||||||
<div class="musictitle"> {musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.title} </div>
|
musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.artistName?.length > 43 ? musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.artistName.substring(0, 30) + "..." : musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.artistName
|
||||||
|
}</div>
|
||||||
|
<div class="musictitle"> {
|
||||||
|
musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.title?.length > 43 ? musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.title.substring(0, 30) + "..." : musicInfo().entitiesByUniqueId[`SPOTIFY_SONG::${spotifylink}`]?.title
|
||||||
|
} </div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}</>
|
)}</>
|
||||||
|
|
Loading…
Reference in a new issue