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