1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-08 22:45:38 -05:00

Remove duplicate transparency & theme options from the control center display

This commit is contained in:
purian23
2025-07-12 21:43:09 -04:00
parent 7cbc29423f
commit 58ac3e0942

View File

@@ -632,7 +632,7 @@ PanelWindow {
BluetoothTab { BluetoothTab {
anchors.fill: parent anchors.fill: parent
anchors.margins: Theme.spacingM anchors.margins: Theme.spacingM
visible: controlCenterPopup.currentTab === 2 visible: root.bluetoothAvailable && controlCenterPopup.currentTab === 2
// Bind properties from root // Bind properties from root
bluetoothEnabled: root.bluetoothEnabled bluetoothEnabled: root.bluetoothEnabled
@@ -643,7 +643,7 @@ PanelWindow {
DisplayTab { DisplayTab {
anchors.fill: parent anchors.fill: parent
anchors.margins: Theme.spacingM anchors.margins: Theme.spacingM
visible: controlCenterPopup.currentTab === 3 visible: controlCenterPopup.currentTab === (root.bluetoothAvailable ? 3 : 2)
} }
} }