Skip to content

armgit / plexo

Public Imported from GitHub
0

Speed up downloads by combining multiple network connections in parallel

Trim redundant "assembling" copy from the hero panel

prashantgeekc7dc3274518e
diff --git a/src/renderer/src/components/CombineDiagram.tsx b/src/renderer/src/components/CombineDiagram.tsx
index 40b76ab..8964ed1 100644
--- a/src/renderer/src/components/CombineDiagram.tsx
+++ b/src/renderer/src/components/CombineDiagram.tsx
@@ -136,24 +136,18 @@ export function CombineDiagram({
</g>
)
})}
- {!muted && (
+ {!muted && !assembling && (
<text
x={STREAM_END_X + 2}
y={midY - 11}
textAnchor="end"
- fill={
- paused
- ? 'var(--color-usb)'
- : assembling
- ? 'var(--color-ethernet)'
- : 'var(--text-tertiary)'
- }
+ fill={paused ? 'var(--color-usb)' : 'var(--text-tertiary)'}
style={{
- font: `${paused || assembling ? '600' : '500'} 8.5px ${FONT_MONO}`,
+ font: `${paused ? '600' : '500'} 8.5px ${FONT_MONO}`,
letterSpacing: '0.12em'
}}
>
- {paused ? 'PAUSED' : assembling ? 'ASSEMBLING…' : 'COMBINED'}
+ {paused ? 'PAUSED' : 'COMBINED'}
</text>
)}
</svg>
diff --git a/src/renderer/src/screens/DownloadingScreen.tsx b/src/renderer/src/screens/DownloadingScreen.tsx
index 2ac9a76..0cfdd66 100644
--- a/src/renderer/src/screens/DownloadingScreen.tsx
+++ b/src/renderer/src/screens/DownloadingScreen.tsx
@@ -219,15 +219,6 @@ export function DownloadingScreen({ download }: { download: DownloadState }): Re
%
</div>
</div>
- <div
- style={{
- font: `500 11px/1.2 ${FONT_UI}`,
- color: 'var(--text-tertiary)',
- marginTop: 2
- }}
- >
- Assembling the final file — almost done
- </div>
</>
) : (
<>