mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-21 22:40:15 -04:00
Fix lint issues
This commit is contained in:
@@ -137,22 +137,22 @@ export class ElectronService {
|
||||
});
|
||||
|
||||
this.onRendererEvent(IPC_POWER_MONITOR_LOCK, () => {
|
||||
console.log("POWER_MONITOR_LOCK received", `navigator.onLine: ${navigator.onLine}`);
|
||||
console.log("POWER_MONITOR_LOCK received", `navigator.onLine: ${navigator.onLine.toString()}`);
|
||||
this._powerMonitorSrc.next(IPC_POWER_MONITOR_LOCK);
|
||||
});
|
||||
|
||||
this.onRendererEvent(IPC_POWER_MONITOR_UNLOCK, () => {
|
||||
console.log("POWER_MONITOR_UNLOCK received", `navigator.onLine: ${navigator.onLine}`);
|
||||
console.log("POWER_MONITOR_UNLOCK received", `navigator.onLine: ${navigator.onLine.toString()}`);
|
||||
this._powerMonitorSrc.next(IPC_POWER_MONITOR_UNLOCK);
|
||||
});
|
||||
|
||||
this.onRendererEvent(IPC_POWER_MONITOR_SUSPEND, () => {
|
||||
console.log("POWER_MONITOR_SUSPEND received", `navigator.onLine: ${navigator.onLine}`);
|
||||
console.log("POWER_MONITOR_SUSPEND received", `navigator.onLine: ${navigator.onLine.toString()}`);
|
||||
this._powerMonitorSrc.next(IPC_POWER_MONITOR_SUSPEND);
|
||||
});
|
||||
|
||||
this.onRendererEvent(IPC_POWER_MONITOR_RESUME, () => {
|
||||
console.log("POWER_MONITOR_RESUME received", `navigator.onLine: ${navigator.onLine}`);
|
||||
console.log("POWER_MONITOR_RESUME received", `navigator.onLine: ${navigator.onLine.toString()}`);
|
||||
this._powerMonitorSrc.next(IPC_POWER_MONITOR_RESUME);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user