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:
@@ -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)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user