File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ bool MLRSongCell::init(const SongData& songData, const bool isEven) {
2828 else if (songData.type == SongType::Blacklisted) songNameLabel->setColor ({128 , 128 , 128 });
2929
3030 MusicDownloadManager* mdm = MusicDownloadManager::sharedState ();
31- if (const int songID = geode::utils::numFromString<int >(desiredFileName).unwrapOr (-1 ); songID > 0 && !mdm->isResourceSong (songID) && mdm->isSongDownloaded (songID) && Utils::toNormalizedString (songData.actualFilePath ) == Utils::toNormalizedString (mdm->pathForSong (songID))) {
31+ if (const int songID = geode::utils::numFromString<int >(desiredFileName).unwrapOr (-1 ); songID > 0 && !mdm->isResourceSong (songID) && mdm->isSongDownloaded (songID) && Utils::toNormalizedString (songData.actualFilePath ) == Utils::toNormalizedString (static_cast <std::string>( mdm->pathForSong (songID) ))) {
3232 if (SongInfoObject* songInfoObject = mdm->getSongInfoObject (songID)) songNameLabel->setString (Utils::getFormattedNGMLSongName (songInfoObject).c_str ());
3333 }
3434 songNameLabel->limitLabelWidth (356 .f * .8f , .75f , .001f );
You can’t perform that action at this time.
0 commit comments