Workspace: respect the setting

This commit is contained in:
LemmyCook 2025-08-26 12:37:46 -04:00
parent c323985f03
commit ab7c5678c6

View file

@ -161,11 +161,11 @@ Item {
Loader { Loader {
anchors.centerIn: parent anchors.centerIn: parent
active: true active: Settings.data.bar.showWorkspacesNames
sourceComponent: Component { sourceComponent: Component {
Text { Text {
text: { text: {
if (Settings.data.bar.showWorkspacesNames && model.name && model.name.length > 0) { if (model.name && model.name.length > 0) {
return model.name.substring(0, 2).toUpperCase() return model.name.substring(0, 2).toUpperCase()
} else { } else {
return model.idx.toString() return model.idx.toString()