A kept episode's row says On this device (#413)
Only the keep button in the files pane said an episode was kept, so finding what was on the device meant opening items one by one. The row's line says it, and keeping or removing one redraws the rows whose state changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqkrVDqdiQEMWAkNGQ2tYA
This commit is contained in:
@@ -54,7 +54,9 @@ function syncKeepButtons(){
|
||||
b.innerHTML=k?ICON.kept:ICON.keep;
|
||||
const label=k?'Kept on this device to play offline. Remove it':'Keep on this device to play offline';
|
||||
b.title=label; b.setAttribute('aria-label',label);
|
||||
});
|
||||
}); // A row says whether its item is kept; redrawn only where that has changed.
|
||||
for(const e of S.entries)
|
||||
if(e.enclosures.some(isKept)!==!!$(`#eps .ep[data-key="${CSS.escape(entryKey(e))}"] .kept`)) swapRow(e);
|
||||
}
|
||||
/// The button for a file on the server that plays; none without a worker to play it offline.
|
||||
function keepBtn(x: Enclosure){
|
||||
|
||||
Reference in New Issue
Block a user