staticWindowTitle(fix): Order alphabetically on all appearances, change if to a ternary

This commit is contained in:
Darío Marmie
2024-10-23 09:39:13 -03:00
parent cb8667bd41
commit 974877ea4f
4 changed files with 12 additions and 13 deletions

View File

@@ -595,8 +595,7 @@ setInterval(function () {
};
// update title, url and play info with new info
if(settingsStore.get(settings.staticWindowTitle)) setTitle(staticTitle)
else setTitle(songDashArtistTitle);
settingsStore.get(settings.staticWindowTitle) ? setTitle(staticTitle) : setTitle(songDashArtistTitle);
getTrackURL();
currentSong = songDashArtistTitle;
currentPlayStatus = currentStatus;