mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-15 00:34:08 +09:00
fix: fixed enabling widget when toggling some option in the settings when the module is disabled
This commit is contained in:
@@ -72,7 +72,7 @@ public class Bluetooth: Module {
|
||||
}
|
||||
|
||||
private func batteryCallback(_ raw: [BLEDevice]?) {
|
||||
guard let value = raw else {
|
||||
guard let value = raw, self.enabled else {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user