1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-27 06:52:50 -05:00

update bluetooth not available visuals

This commit is contained in:
bbedward
2025-09-19 20:55:06 -04:00
parent 3376dc893d
commit 0055ddbc8d
3 changed files with 11 additions and 7 deletions

View File

@@ -37,6 +37,7 @@ BasePill {
}
isActive: !!(BluetoothService.available && BluetoothService.adapter && BluetoothService.adapter.enabled)
showExpandArea: BluetoothService.available
primaryText: {
if (!BluetoothService.available) {
@@ -53,7 +54,7 @@ BasePill {
secondaryText: {
if (!BluetoothService.available) {
return "Not available"
return "No adapters"
}
if (!BluetoothService.adapter || !BluetoothService.adapter.enabled) {
return "Off"