(listEl)
| 4292 | } |
| 4293 | |
| 4294 | function forceRepaintInlineFolderIcons(listEl) { |
| 4295 | if (!listEl) return; |
| 4296 | try { |
| 4297 | listEl.querySelectorAll('tr.folder-row[data-folder]').forEach(row => { |
| 4298 | const folder = row.getAttribute('data-folder') || ''; |
| 4299 | if (!folder) return; |
| 4300 | const iconSpan = row.querySelector('.folder-svg'); |
| 4301 | if (!iconSpan) return; |
| 4302 | _stampFolderIcon(iconSpan); |
| 4303 | _applyFolderColors(row, folder); |
| 4304 | const kind = iconSpan.dataset.kind || 'empty'; |
| 4305 | iconSpan.dataset.kind = kind; |
| 4306 | iconSpan.innerHTML = folderSVG(kind, { encrypted: isEncryptedForFolderIcon(folder) }); |
| 4307 | }); |
| 4308 | syncFolderIconSizeToRowHeight(); |
| 4309 | } catch (e) { /* best effort */ } |
| 4310 | } |
| 4311 | |
| 4312 | function scheduleFolderIconRepair(opts = {}) { |
| 4313 | try { |
no test coverage detected