Merge pull request #882 from alaughlin/hide-empty-shortcut-boxes

Control Center: hide shortcuts box if empty
This commit is contained in:
Lemmy
2025-11-27 08:42:49 -05:00
committed by GitHub
@@ -14,6 +14,7 @@ RowLayout {
NBox {
Layout.fillWidth: true
Layout.preferredHeight: root.shortcutsHeight
visible: Settings.datga.controlCenter.shortcuts.left.length > 0
RowLayout {
id: leftContent
@@ -53,6 +54,7 @@ RowLayout {
NBox {
Layout.fillWidth: true
Layout.preferredHeight: root.shortcutsHeight
visible: Settings.data.controlCenter.shortcuts.right.length > 0
RowLayout {
id: rightContent