()
| 612 | } |
| 613 | |
| 614 | function updateDeleteButton() { |
| 615 | const btn = ui.deleteBtn; |
| 616 | if (!btn) return; |
| 617 | if (currentSection === 'online') { |
| 618 | btn.textContent = '清理'; |
| 619 | btn.title = ''; |
| 620 | } else { |
| 621 | btn.textContent = '删除'; |
| 622 | btn.title = ''; |
| 623 | } |
| 624 | } |
| 625 | |
| 626 | |
| 627 | function setActionButtonsState() { |
no outgoing calls
no test coverage detected