mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: fixed battery levels id for the Sensors widget (#1091)
This commit is contained in:
@@ -81,7 +81,7 @@ public class Bluetooth: Module {
|
||||
active.forEach { (d: BLEDevice) in
|
||||
if d.state {
|
||||
d.batteryLevel.forEach { (p: KeyValue_t) in
|
||||
list.append(KeyValue_t(key: p.key, value: "\(p.value)%"))
|
||||
list.append(KeyValue_t(key: "\(d.address)-\(p.key)", value: "\(p.value)%"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user