Merge branch 'develop' of https://github.com/ciderapp/Cider into develop

This commit is contained in:
yazninja 2022-05-01 19:32:01 +08:00
commit 0667fe9d30
2 changed files with 6 additions and 0 deletions

View file

@ -198,6 +198,9 @@ export default class RAOP {
if (status == "pair_success"){
this._win.webContents.executeJavaScript(`app.sendAirPlaySuccess()`)
}
if (status == "pair_failed"){
this._win.webContents.executeJavaScript(`app.sendAirPlayFailed()`)
}
if (status == 'stopped') {
this.airtunes.stopAll(() => {
console.log('end');

View file

@ -3837,6 +3837,9 @@ const app = new Vue({
sendAirPlaySuccess(){
notyf.success('Device paired successfully!');
},
sendAirPlayFailed(){
notyf.error('Device paring failed!');
},
windowFocus(val) {
if (val) {
document.querySelectorAll(".animated-artwork-video").forEach(el => {