mirror of
https://github.com/nimbold/Firelink.git
synced 2026-08-27 19:17:13 +00:00
fix(downloads): correct add window actions
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user