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 {
anchors.centerIn: parent
active: true
active: Settings.data.bar.showWorkspacesNames
sourceComponent: Component {
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()
} else {
return model.idx.toString()