chore: Prettified Code

[ci skip]
This commit is contained in:
vapormusic 2022-08-28 04:55:06 +00:00 committed by cider-chore[bot]
parent 4c34f22ea1
commit a21f7e173c
2 changed files with 6 additions and 5 deletions

View file

@ -4343,12 +4343,13 @@ const app = new Vue({
notyf.success("Device paring failed!");
},
airplayDisconnect(dropped, array = []) {
if (dropped){
let [ipv4, ipport, sepassword, title, artist, album, artworkURL, txt, airplay2dv] = array
ipcRenderer.send("performAirplayPCM", ipv4, ipport, sepassword, title, artist, album, artworkURL, txt, airplay2dv)
if (dropped) {
let [ipv4, ipport, sepassword, title, artist, album, artworkURL, txt, airplay2dv] = array;
ipcRenderer.send("performAirplayPCM", ipv4, ipport, sepassword, title, artist, album, artworkURL, txt, airplay2dv);
} else {
app.activeCasts = [];
notyf.error("Devices disconnected!");}
notyf.error("Devices disconnected!");
}
},
windowFocus(val) {
if (val) {