Update ImageQueueModal.tsx

This commit is contained in:
Desktop
2025-11-12 14:25:47 +05:00
parent 162d15357a
commit 2c2eaa4c47

View File

@@ -583,7 +583,13 @@ export default function ImageQueueModal({
style={{ width: `${smoothProgress[item.index] ?? item.progress ?? 0}%` }} style={{ width: `${smoothProgress[item.index] ?? item.progress ?? 0}%` }}
/> />
<div className="absolute inset-0 flex items-center justify-center"> <div className="absolute inset-0 flex items-center justify-center">
<span className="text-xs font-bold text-gray-700 dark:text-gray-200"> <span
className={`text-xs font-bold ${
(smoothProgress[item.index] ?? item.progress ?? 0) >= 50
? 'text-white'
: 'text-gray-700 dark:text-gray-200'
}`}
>
{smoothProgress[item.index] ?? item.progress ?? 0}% {smoothProgress[item.index] ?? item.progress ?? 0}%
</span> </span>
</div> </div>