fix(downloads): correct add window actions

This commit is contained in:
NimBold
2026-06-20 18:51:38 +03:30
parent 894c238bb7
commit 487e1fea43
13 changed files with 278 additions and 232 deletions
+2 -2
View File
@@ -200,8 +200,8 @@ export const DownloadItem = React.memo<DownloadItemProps>(({
<Pause size={14} fill="currentColor" />
</button>
)}
{download.status === 'paused' && (
<button onClick={() => handleResume(download)} className="app-icon-button h-7 w-7" title="Resume">
{(download.status === 'ready' || download.status === 'paused') && (
<button onClick={() => handleResume(download)} className="app-icon-button h-7 w-7" title={download.status === 'ready' ? 'Start' : 'Resume'}>
<Play size={14} fill="currentColor" />
</button>
)}