use contols indicator for exit timer

This commit is contained in:
talksik
2026-03-19 16:27:38 -07:00
parent 20fb9a4c6e
commit 23d894e171
+10 -10
View File
@@ -377,19 +377,19 @@ export function StreamView({ path, streamParticle }: StreamViewProps) {
onActiveChange={setComposeActive}
/>
{/* Exit countdown */}
{exitRemainingMs !== null && (
<div className="absolute left-5 top-5 z-10 flex items-center justify-center pointer-events-none">
<span className="text-sm text-white/60">
Closing in {Math.ceil(exitRemainingMs / 1000)}s
</span>
</div>
)}
{/* Bottom overlay: stream info + reply */}
<div className="absolute right-0 left-0 bottom-0 z-10">
<ControlsIndicator type={"reply"}>
<SeenIndicator stream={streamParticle} currentParticle={currentParticle} networkId={networkId} />
<div className="flex items-center gap-1 text-xs text-white/70">
Seen by
<SeenIndicator stream={streamParticle} currentParticle={currentParticle} networkId={networkId} />
{/* Exit countdown */}
{exitRemainingMs !== null && (
<span>
Closing in {Math.ceil(exitRemainingMs / 1000)}s
</span>
)}
</div>
</ControlsIndicator>
</div>
</div>