use contols indicator for exit timer
This commit is contained in:
@@ -377,19 +377,19 @@ export function StreamView({ path, streamParticle }: StreamViewProps) {
|
|||||||
onActiveChange={setComposeActive}
|
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 */}
|
{/* Bottom overlay: stream info + reply */}
|
||||||
<div className="absolute right-0 left-0 bottom-0 z-10">
|
<div className="absolute right-0 left-0 bottom-0 z-10">
|
||||||
<ControlsIndicator type={"reply"}>
|
<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>
|
</ControlsIndicator>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user