mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
hide if not available
This commit is contained in:
@@ -19,15 +19,13 @@ ColumnLayout {
|
||||
|
||||
NTabButton {
|
||||
text: I18n.tr("common.wifi")
|
||||
// visible: NetworkService.wifiAvailable
|
||||
enabled: NetworkService.wifiAvailable // Remove when work finished, only use visibility
|
||||
visible: NetworkService.wifiAvailable
|
||||
tabIndex: 0
|
||||
checked: subTabBar.currentIndex === 0
|
||||
}
|
||||
NTabButton {
|
||||
text: I18n.tr("common.bluetooth")
|
||||
// visible: BluetoothService.bluetoothAvailable
|
||||
enabled: BluetoothService.bluetoothAvailable // Remove when work finished, only use visibility
|
||||
visible: BluetoothService.bluetoothAvailable
|
||||
tabIndex: 1
|
||||
checked: subTabBar.currentIndex === 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user