Autoformat

This commit is contained in:
ItsLemmy
2025-11-16 20:56:58 -05:00
parent 792c6848c4
commit 0426918be6
5 changed files with 17 additions and 16 deletions
+2 -2
View File
@@ -96,9 +96,9 @@ Item {
function getTitle() {
if (showArtistFirst) {
return (MediaService.trackArtist !== "" ? `${MediaService.trackArtist} - ` : "") + MediaService.trackTitle
return (MediaService.trackArtist !== "" ? `${MediaService.trackArtist} - ` : "") + MediaService.trackTitle;
} else {
return MediaService.trackTitle + (MediaService.trackArtist !== "" ? ` - ${MediaService.trackArtist}` : "")
return MediaService.trackTitle + (MediaService.trackArtist !== "" ? ` - ${MediaService.trackArtist}` : "");
}
}
+3 -3
View File
@@ -390,13 +390,13 @@ Item {
text: {
if (workspaceModel.name && workspaceModel.name.length > 0) {
if (root.labelMode === "name") {
return workspaceModel.name.substring(0, root.characterCount)
return workspaceModel.name.substring(0, root.characterCount);
}
if (root.labelMode === "index+name") {
return (workspaceModel.idx.toString() + workspaceModel.name.substring(0, 1))
return (workspaceModel.idx.toString() + workspaceModel.name.substring(0, 1));
}
}
return workspaceModel.idx.toString()
return workspaceModel.idx.toString();
}
family: Settings.data.ui.fontFixed
+2 -2
View File
@@ -303,7 +303,7 @@ Item {
return model.name.substring(0, characterCount);
}
if (root.labelMode === "index+name") {
return (model.idx.toString() + " " + model.name.substring(0, characterCount))
return (model.idx.toString() + " " + model.name.substring(0, characterCount));
}
}
return model.idx.toString();
@@ -452,7 +452,7 @@ Item {
return model.name.substring(0, characterCount);
}
if (root.labelMode === "index+name") {
return (model.idx.toString() + model.name.substring(0, 1))
return (model.idx.toString() + model.name.substring(0, 1));
}
}
return model.idx.toString();