docs: fix wrong description in breaking-changes.md (#24477)
This commit is contained in:
parent
cdd5bb1eba
commit
eb550c57d3
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ powerMonitor.querySystemIdleState(threshold, callback)
|
||||||
const idleState = powerMonitor.getSystemIdleState(threshold)
|
const idleState = powerMonitor.getSystemIdleState(threshold)
|
||||||
```
|
```
|
||||||
|
|
||||||
### API Changed: `powerMonitor.querySystemIdleTime` is now `powerMonitor.getSystemIdleState`
|
### API Changed: `powerMonitor.querySystemIdleTime` is now `powerMonitor.getSystemIdleTime`
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// Removed in Electron 7.0
|
// Removed in Electron 7.0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue