fixed cast play
This commit is contained in:
@@ -1059,6 +1059,13 @@ function setupEventListeners() {
|
||||
refreshCastDeviceList();
|
||||
}
|
||||
});
|
||||
// Notify UI when a device is removed so the list can update
|
||||
window.__TAURI__.event.listen('cast-device-removed', (event) => {
|
||||
console.log('Cast device removed:', event.payload);
|
||||
if (!castOverlay.classList.contains('hidden')) {
|
||||
refreshCastDeviceList();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Menu button - explicit functionality or placeholder?
|
||||
|
||||
Reference in New Issue
Block a user