chore: Prettified Code
[ci skip]
This commit is contained in:
parent
8c9070c8da
commit
3b947a8361
2 changed files with 5 additions and 4 deletions
|
@ -319,9 +319,10 @@ export default class ChromecastPlugin {
|
|||
});
|
||||
|
||||
electron.ipcMain.on("getChromeCastDevices", (_event, _data) => {
|
||||
if(this.scanCount++ == 2) {
|
||||
this.scanCount = 0
|
||||
this.castDevices = [];}
|
||||
if (this.scanCount++ == 2) {
|
||||
this.scanCount = 0;
|
||||
this.castDevices = [];
|
||||
}
|
||||
this.searchForGCDevices();
|
||||
});
|
||||
|
||||
|
|
|
@ -217,7 +217,7 @@ export default class RAOP {
|
|||
txt: txt,
|
||||
airplay2: airplay2dv,
|
||||
debug: null,
|
||||
forceAlac: false
|
||||
forceAlac: false,
|
||||
});
|
||||
// console.log('lol',txt)
|
||||
this.device.on("status", (status: any) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue