From c412df0a9ba02bb4006d6ddb9356e565a076eb6c Mon Sep 17 00:00:00 2001 From: Adrien_D Date: Wed, 25 Mar 2026 18:10:58 +0100 Subject: [PATCH] Fix compatibility for GNOME 50 --- extension.ts | 3 ++- metadata.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/extension.ts b/extension.ts index 15a21cd..2801245 100644 --- a/extension.ts +++ b/extension.ts @@ -639,7 +639,7 @@ class ExtensionController { this.injection_manager.restoreMethod(this.input_volume_slider.constructor.prototype, "_sync"); this.active_patches.set("always-show-input-volume-slider", false); - this.input_volume_slider._maybeShowInput(); + this.input_volume_slider._maybeShowInput?.(); this.input_volume_slider.visible = this.input_volume_slider._shouldBeVisible(); } @@ -659,6 +659,7 @@ class ExtensionController { this.input_volume_slider.visible = true; } } + this.output_volume_slider._updatePrivacyIndicator?.(); } private set_remove_output_volume_slider(enable: boolean) { diff --git a/metadata.json b/metadata.json index 6635deb..bb42239 100644 --- a/metadata.json +++ b/metadata.json @@ -3,9 +3,9 @@ "name": "Quick Settings Audio Panel", "description": "Create a new panel containing volumes and media control in the quick settings", "shell-version": [ - "49" + "50" ], "url": "https://github.com/Rayzeq/quick-settings-audio-panel", "settings-schema": "org.gnome.shell.extensions.quick-settings-audio-panel", "gettext-domain": "quick-settings-audio-panel@rayzeq.github.io" -} \ No newline at end of file +}