This commit is contained in:
ct
2025-07-03 01:23:15 +08:00
parent db892fc4f5
commit 2f9f34ebc7
3 changed files with 142 additions and 184 deletions

View File

@@ -12,7 +12,7 @@ const VideoDownloadModal = ({ isOpen, onClose, ffmpegCommand, handleDownloadButt
<Dialog open={isOpen} onOpenChange={onClose}>
<DialogContent>
<DialogHeader>
<DialogTitle>Download Video</DialogTitle>
<DialogTitle>Export Video</DialogTitle>
{exportStatus ||
(exportProgress > 0 && (
<DialogDescription>
@@ -39,7 +39,7 @@ const VideoDownloadModal = ({ isOpen, onClose, ffmpegCommand, handleDownloadButt
{showDebug && <Textarea value={ffmpegCommand} readOnly className="mb-4" />}
<Button onClick={handleDownloadButton}>{isExporting ? <Spinner className="text-secondary h-4 w-4" /> : 'Download'}</Button>
<Button onClick={handleDownloadButton}>{isExporting ? <Spinner className="text-secondary h-4 w-4" /> : 'Export Video'}</Button>
{/* Add your content here */}
</DialogContent>