mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-29 08:22:49 -05:00
Hide empty stream titles
This commit is contained in:
@@ -34,6 +34,7 @@ function Overlay({ config, views, streams }) {
|
||||
)
|
||||
const isBlurred = viewState.matches('displaying.running.video.blurred')
|
||||
const isLoading = viewState.matches('displaying.loading')
|
||||
const hasTitle = data && (data.label || data.source)
|
||||
return (
|
||||
<SpaceBorder
|
||||
pos={pos}
|
||||
@@ -43,7 +44,7 @@ function Overlay({ config, views, streams }) {
|
||||
isListening={isListening}
|
||||
>
|
||||
<BlurCover isBlurred={isBlurred} />
|
||||
{data && (
|
||||
{hasTitle && (
|
||||
<StreamTitle activeColor={activeColor} isListening={isListening}>
|
||||
<StreamIcon url={content.url} />
|
||||
<span>
|
||||
|
||||
Reference in New Issue
Block a user