summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/sidebar/modules/streams.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/sidebar/modules/streams.tsx b/src/modules/sidebar/modules/streams.tsx
index 16812fd..18a9a58 100644
--- a/src/modules/sidebar/modules/streams.tsx
+++ b/src/modules/sidebar/modules/streams.tsx
@@ -83,16 +83,16 @@ export default () => {
if (!audio) return <NoWp />;
- const label = Variable("");
+ const label = Variable(`${header(audio, "streams")} • ${header(audio, "recorders")}`);
label.observe(
- ["streams", "speakers", "recorders"].map(k => [audio, `notify::${k}`]),
- () => `${header(audio, "streams")} • ${header(audio, "speakers")} • ${header(audio, "recorders")}`
+ ["streams", "recorders"].map(k => [audio, `notify::${k}`]),
+ () => `${header(audio, "streams")} • ${header(audio, "recorders")}`
);
return (
<box vertical className="streams" onDestroy={() => label.drop()}>
- <box className="header-bar">
+ <box halign={Gtk.Align.CENTER} className="header-bar">
<label label={bind(label)} />
</box>
<stack